[PATCH] a new pthread_cond implementation

Robert Collins rbcollins@cygwin.com
Thu Jan 23 12:29:00 GMT 2003

On Thu, 2003-01-23 at 23:21, Thomas Pfaff wrote:

> 4. The spec requires that the mutex which is used with the condition
> shall be locked by the calling thread. The current code does not check
> this and will additionally create the mutex if it initialized with
> PTHREAD_MUTEX_INITIALIZER. The opengroup spec suggests EPERM under that
> condition.

The spec only requires this for pthread_cond_wait, not for all
pthread_cond_ calls. I hadn't noticed the EPERM suggestion.

I want to go through this patch in detail - it'll be a couple of days.

Please don't check it in yet.

GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20030123/0adbc6ee/attachment.sig>

More information about the Cygwin-patches mailing list