BLocker won't unlock from a different thread
|Reported by:||darkwyrm||Owned by:||axeld|
|Blocked By:||Blocking:||#11655, #11860, #11984|
|Has a Patch:||no||Platform:||All|
Once again my Paladin development efforts have uncovered another system-level bug.
It seems that if a BLocker is locked from one thread and unlocked from another, the Unlock fails. I've written a quick test app which locks a BLocker from within the main window's constructor and unlocks it in QuitRequested. The BLocker's status is then tested in the App class' destructor. When built and run under Zeta, the lock is unlocked. Under Haiku, it is still locked. I am attaching the test program momentarily.