This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
Re: Possible violation of synchronization in pthread_cond_timedwait()
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.:)