Process hang(100% CPU Usage) when concurrent calling select(),cygwin1.5.5-1 WinXP/Win2000

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Nov 7 18:24:00 GMT 2003


On Fri, Nov 07, 2003 at 10:44:20AM -0500, Joe Buehler wrote:
>zhouxin wrote:
>>If the udp worker's count greater than 18,some thread's select() hang
>>and process take 100% cpu:
>
>Interestingly, there is a static pool of 18 threads internally before
>switching to dynamically created threads.  So there may be some problem
>related to the dynamically allocated threads code.

Hmm.  Interesting observation.  I took a stab at fixing a couple of
obvious problems in the thread overflow code.  It seems like it might
have solved the problem.

There will be a new snapshot available in an hour or so at:

http://cygwin.com/snapshots/

Thanks for the test case, btw.

cgf

--
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/



More information about the Cygwin mailing list