This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] a new pthread_cond implementation


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.

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]