| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Problems with Windows threads and cygwin sleep() |
| Date: | Thu, 25 Aug 2005 11:37:55 +0100 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20050825100234.GL17452@calimero.vinschen.de> |
| Message-ID: | <SERRANOHPSmlGxmedSP000002a7@SERRANO.CAM.ARTIMI.COM> |
----Original Message----
>From: Corinna Vinschen
>Sent: 25 August 2005 11:03
> On Aug 25 12:30, Raul Metsma wrote:
>> Ohh never get this right :(
>> Actually I am more system administrator than programmer
>>
>> Lets try again:
>> http://rtedev.com/~raul/threads/threads.c
>> Compile this program under mingw
>> gcc -o threads.exe threads.c
>> ./threads 600
>>
>> now compile
>> http://rtedev.com/~raul/threads/main.c
>> with cygwin
>> and when I execute this, then threads.exe will eat 100% CPU
>
> Er... well, no, not on my system. It takes 3 to 5% CPU and that
> doesn't change when starting main.exe.
>
I can reproduce it. I had to go up to 1200 threads.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |