We forgot to unpublish our temporary condition variable. Since it was
allocated on the stack, condition variable related structures would be trashed, causing all kinds of problems. Fixes #1811 and #1812. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24009 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -796,6 +796,8 @@ sigsuspend(const sigset_t *mask)
|
||||
break;
|
||||
}
|
||||
|
||||
conditionVar.Unpublish();
|
||||
|
||||
// restore the original block mask
|
||||
atomic_set(&thread->sig_block_mask, oldMask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user