[haiku-bugs] Re: [Haiku] #6400: BLocker won't unlock from a different thread

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2015 14:06:31 -0000

#6400: BLocker won't unlock from a different thread
--------------------------------+-----------------------
   Reporter:  darkwyrm          |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Support Kit  |    Version:  R1/alpha2
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  11655
Has a Patch:  0                 |   Platform:  All
--------------------------------+-----------------------

Comment (by pulkomandy):

 @waddlesplash: if you had read the linked bugreport on homeworld side, you
 would have noticed that Philippe Houdoin already tracked where the problem
 is. The issue is in Mesa (the legacy version).

 It uses a BLock in an unusual way, which worked on BeOS but resulted on
 the lock being always held in Haiku (since before I adde dthis check, the
 Unlock call would simply have been ignored). In the Mesa code there is a
 mention of adding this specifically to get Quake 2 working. So now we have
 to find/build a Quake 2 port and make sure it doesn't need this anymore.
 Or, we can comment the debugger() call or convert it to an stderr warning.

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

Other related posts: