Possible violation of synchronization in pthread_cond_timedwait()

zephyr qybupt@263.net
Fri Nov 19 16:26:00 GMT 2004


Thanks, 
	especially to Will Byrant and JamesC. Pulaski. I read the manual of POSIX 
threads and stuff searched about "spurious wakeup", checking the value of 
m_curSize after return from the wait of condition variable is very necessary 
and resolve my problem. At the same time, I had better check the return value 
when getting the mutex. Thank both of you again, I leaned much from you.:)



More information about the Pthreads-win32 mailing list