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: PTHREAD_COND_INITIALIZER support


Hi!

Thursday, 15 November, 2001 Robert Collins robert.collins@itdomain.com.au wrote:

RC> ----- Original Message -----
RC> From: "egor duda" <deo@logos-m.ru>
RC> ..
>> ed> yes. i'm going to add a bunch of pthread tests after this checkin.
>>
>> done too.
>>
>> Robert, can you please take a look at winsup.api/pthread/condvar3_1.c
>> test? it looks like when condition variable is signalled, two threads
>> wake on it instead of one. it's quite stable effect, so i don't think
>> we have a race here.

RC> Ok, it's probably the wakeup code. Do you have a sinlge or dual machine?

single. do you see the same output? :

awk = 42
sig = 21
tot = 18
Assertion failed: (signaled == awoken), ...

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


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