[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-patches
Subject:    Re: PTHREAD_COND_INITIALIZER support
From:       egor duda <deo () logos-m ! ru>
Date:       2001-11-15 14:06:02
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic