This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]