From: zephyr <qybupt@263.net>
To: pthreads-win32@sources.redhat.com
Subject: Re: Possible violation of synchronization in pthread_cond_timedwait()
Date: Fri, 19 Nov 2004 16:26:00 -0000 [thread overview]
Message-ID: <200411200025.17327.qybupt@263.net> (raw)
In-Reply-To: <419C1B3E.1020902@ecosm.com>
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.:)
prev parent reply other threads:[~2004-11-19 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-18 3:38 qybupt
2004-11-18 3:45 ` Will Bryant
2004-11-19 16:26 ` zephyr [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200411200025.17327.qybupt@263.net \
--to=qybupt@263.net \
--cc=pthreads-win32@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).