[haiku-bugs] Re: [Haiku] #10510: Support Web Sockets (easy)

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Mar 2014 19:26:39 -0000

#10510: Support Web Sockets (easy)
----------------------------------------+----------------------------
   Reporter:  pulkomandy                |      Owner:  pulkomandy
       Type:  enhancement               |     Status:  new
   Priority:  normal                    |  Milestone:  R1/beta1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:  gsoc2014
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by hamish):

 Instead of having three different threads to handle asynchronous connect,
 read and write, you could have one thread that selects/polls the socket
 for read/writability and calls the appropriate callbacks.

 You might also want to look at using C++11 threads instead of Be threads,
 as the rest of the Webkit codebase uses these.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10510#comment:11>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: