This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: pthread_mutex_init fails
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "egor duda" <deo at logos-m dot ru>
- Cc: <cygwin-developers at cygwin dot com>
- Date: Mon, 19 Nov 2001 01:41:32 +1100
- Subject: Re: pthread_mutex_init fails
- References: <200111171814.MAA29795@duracef.shout.net> <20011117194703.GA27975@redhat.com> <2615386444.20011118002102@logos-m.ru> <028f01c1702f$d438a360$0200a8c0@lifelesswks> <19373219704.20011118162457@logos-m.ru> <00c501c17037$188e84b0$0200a8c0@lifelesswks> <1493522465.20011118173715@logos-m.ru>
[Get raw message]
----- Original Message -----
From: "egor duda" <deo@logos-m.ru>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin-developers@cygwin.com>
Sent: Monday, November 19, 2001 1:37 AM
Subject: Re: pthread_mutex_init fails
> Hi!
>
> Sunday, 18 November, 2001 Robert Collins
robert.collins@itdomain.com.au wrote:
>
> RC> ----- Original Message -----
> RC> From: "egor duda" <deo@logos-m.ru>
>
> >> the problem remains that the patched code still won't work on w95,
but
> >> the current code doesn't work at all!
>
> RC> The current code should run fine on w95 and 2k - it did for me
before
> RC> committing it 0 I tested on both 9x and 2k.
>
> RC> However the bug is likely the cause for Jasons continued python
> RC> failures.
>
> really? have you checked if exactly one thread wakes up when condition
> variable is signaled? i _can't_ see how current code can work at all.
> please run winsup.api/pthread/condvar3_1.c test on w2k and tell what
> the result is. btw, are you sure you've been testing on stock w95? or
> it was w98? or osr2? msdn says that InterlockedIncrement() behavior
> changed from w95 to w98 and from nt3.5 to nt4.0.
>
> again, i can't see how current code can work at all either on w95 or
> on w98 or on nt or on w2k. what exactly have you tested?
95 OSR 2 and W2k SP2. Why can't it work? I haven't checked that _only_
one thread wakes up no, but the woken threads are serialised regardless.
I agree there is a big bug here.
Rob