Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <430D8FC8.8090906@vihmapuu.ee> Date: Thu, 25 Aug 2005 12:30:48 +0300 From: Raul Metsma User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems with Windows threads and cygwin sleep() References: <20050824185143 DOT 76C69A01 AT data DOT zone DOT ee> <430D688D DOT 1070205 AT vihmapuu DOT ee> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Raul Metsma Pavel Tsekov wrote: > Hello, > > On Thu, 25 Aug 2005, Raul Metsma wrote: > > >>Sorry no Makefile based project, but in Visual C >>http://rtedev.com/~raul/threads/Threads.zip > > > By doing this you are seriously reducing the chance that someone will look > at your testcase. > > -- > 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/ > -- 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/