Searched hist:d52718a5 (Results 1 - 1 of 1) sorted by relevance

/haiku/src/system/kernel/fs/
H A Dfifo.cppdiff d52718a5 Thu Oct 16 15:40:32 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Fixed serious race condition: If the thread waiting for a request was
interrupted, another thread closing the other end of the pipe could
invoke thread_unblock() while the first thread already entered
mutex_lock(). This would make the first thread think it successfully
locked the mutex, without removing its (on-stack) wait entry from the
mutex queue, thus leading to crashes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28195 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 52 milliseconds