Hartmut Birr wrote:
Hi,
this piece of code is wrong. If we terminating a thread, which waits on something, we do unblock the thread. The thread must check, if it got the lock, if not it must wait again.
- Hartmut
Hi,
I'm afraid that's incorrect; if the wait gets satisfied you -will- get the fast mutex.
Best regards, Alex Ionescu