PTHREAD_COND_INITIALIZER support

egor duda deo@logos-m.ru
Thu Nov 15 06:06:00 GMT 2001


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



More information about the Cygwin-patches mailing list