Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4312DF32.7080506@vihmapuu.ee>
Date: Mon, 29 Aug 2005 13:10:58 +0300
From: Raul Metsma <raul@vihmapuu.ee>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problems with Windows threads and cygwin sleep()
References: <Pine.LNX.4.62.0508241458460.26825@ns.pyerotechnics.com> <430D688D.1070205@vihmapuu.ee> <Pine.CYG.4.58.0508251054550.1272@mordor> <430D8FC8.8090906@vihmapuu.ee> <20050825100234.GL17452@calimero.vinschen.de> <430DA017.5000402@vihmapuu.ee> <20050825115019.GP17452@calimero.vinschen.de> <Pine.CYG.4.58.0508251456520.2676@mordor> <20050825120922.GQ17452@calimero.vinschen.de> <Pine.CYG.4.58.0508251532350.2968@mordor> <20050825131402.GR17452@calimero.vinschen.de>
In-Reply-To: <20050825131402.GR17452@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

  > No, I tested with just two cmd windows.  The joke is that I don't see
> the Cygwin process doing anything suspicious.  In my test I just started
> tcsh under strace to see if it begins to behave weird when the threads
> application is running, but it just waits in ready_for_read for user input.
> Nevertheless, threads takes the CPU time when the no. of threads is big
> enough and returns to normal when the Cygwin process stops.  I tried a
> few things but no luck so far.  Maybe Dave is right.
> 

Some more testing

When I comment out signals.cc nanosleep() content and add there
directly windows Sleep() call, then does not occur this issue.
Could this be nanosleep() bug or something deeper?

Raul Metsma

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

