[haiku-bugs] Re: [Haiku] #12476: framapad (etherpad) doesn't work.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 03 Jul 2021 11:27:46 -0000

#12476: framapad (etherpad) doesn't work.
---------------------------+----------------------------
  Reporter:  pulkomandy    |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  Unscheduled
 Component:  Kits/Web Kit  |    Version:  R1/Development
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by pulkomandy):

 Etherpad is using platformLoadResourceSynchronously(), which is not
 implemented in our WebKit http backend.

 The difficulty is that currently our code uses an asynchronous listener,
 that communicates with the main thread by sending BMessages. However,
 platformLoadResourceSynchronously expects the request to run (and the
 notifications to be called) while blocking the main thread.

 To achieve this, either we add some way to run the protocol loop in an
 existing thread in blocking mode, or need some special way of
 communicating between the request thread and the main thread that does not
 involve BMessage (it can be done with a custom asynchronous listener, for
 example).
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12476#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: