Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: atacama.four-d.de: mail set sender to <tpfaff@gmx.net> using -f
Message-ID: <3E83FD45.5060902@gmx.net>
Date: Fri, 28 Mar 2003 08:44:05 +0100
From: Thomas Pfaff <tpfaff@gmx.net>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Brian Ford <ford@vss.fsi.com>
CC: cygwin <cygwin@cygwin.com>
Subject: Re: CVS winsup/testsuite/winsup.api/pthread/condvar9.c failure
References: <Pine.GSO.4.44.0303271822560.29553-100000@eos>
In-Reply-To: <Pine.GSO.4.44.0303271822560.29553-100000@eos>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Brian Ford wrote:
> I have been seeing this for a few days now.  I will investigate further
> when I have more time, but I thought I would give Thomas Pfaff and others
> a heads up.
> 
> It is failing with:
> 
> Assertion failed: (awoken == NUMTHREADS - canceledThreads), file
> /home/ford/downloads/cygwin/winsup/testsuite/winsup.api/pthread/condvar9.c,
> line 229
> 
> A simple debug shows:
> 
> pthread/condvar9.c: awoken 8 NUMTHREADS 9 canceledThreads 2
> 
> This loop seems strangely architected, so I will have to look into the
> correctness of the test later.
> 
> Just FYI.
> 

I can't reproduce this on NT4SP6 single CPU, i always get:

awoken 7, canceledThreads 2

Which windows version are you using ?

Thomas




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

