I think that on Win32, if you call mutex.lock() twice
within the same thread, you will block forever, while this
probably doesn't happen with the pthreads
implementation. Is this a bug or a feature :-)
gregory
Discussion
-
2007-02-07
Logged In: YES
user_id=251980
Originator: NO
in fact it happens as well in the pthreads implimentation because OpenThreads fails to set the pthread type to PTHREAD_MUTEX_RECURSIVE. However, this is probably a bug here as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=251980
Originator: NO
in fact it happens as well in the pthreads implimentation because OpenThreads fails to set the pthread type to PTHREAD_MUTEX_RECURSIVE. However, this is probably a bug here as well.