This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Process hang(100% CPU Usage) when concurrent calling select(),cygwin1.5.5-1WinXP/Win2000
- From: Joe Buehler <jbuehler at hekimian dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 07 Nov 2003 10:44:20 -0500
- Subject: Re: Process hang(100% CPU Usage) when concurrent calling select(),cygwin1.5.5-1WinXP/Win2000
- Organization: Spirent Communications, Inc.
- References: <E1AH1u4-0003nc-00@quimby.gnus.org>
- Reply-to: jbuehler at hekimian dot com
zhouxin wrote:
> If the udp worker's count greater than 18,some thread's select() hang and process
> take 100% cpu:
My vague recollection is that Cygwin allocates threads to handle select().
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.
--
Joe Buehler
--
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/