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: <3E59D3A1.2010209@gmx.net>
Date: Mon, 24 Feb 2003 09:11:13 +0100
From: Thomas Pfaff <tpfaff@gmx.net>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Joe Sadusk <jsadusk@isilon.com>
CC: cygwin@cygwin.com
Subject: Re: Problem with pthreads
References: <3E55C420.6030902@isilon.com>
In-Reply-To: <3E55C420.6030902@isilon.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Joe Sadusk wrote:
> I'm in qa, and I'm attempting to port a filesystem stress test written 
> for Linux to Windows using cygwin.  It uses pthreads to create many 
> concurrent threads which read files out of a directory in various 
> patterns.  The thing is, I've found that with any more than 55 threads, 
> pthread_join will hang indefinitely, for no apparent reason.  Its also 
> only the second call to pthread_join.  Its being called from the creator 
> thread and each of the threads were cancelled prior to being joined (and 
> the cancel appears to work fine, as all disk activity stops).  Its very 
> strange.  With 55 threads everything works exactly as expected, and with 
> 56 it doesn't work at all.  Is this a known issue, or am I doing 
> something wrong?

Please provide a testcase.

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/

