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

2003-11-09 Thread zhouxin
Yeah,it seems all ok! >On Fri, Nov 07, 2003 at 01:24:29PM -0500, Christopher Faylor wrote: >>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 >>&g

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

2003-11-04 Thread zhouxin
hi,all I have reported this problem a week ago.I belive that the test_select.c(see below) is correct.The usage of select() is classical. This testing program initialize a number of threads, each thread create a socket and send UDP packet to UDP server,then wait response by calling selec

Re: Re: select() take 100% CPU with cygwin1.5.5-1 in WinXP/Win2000

2003-11-03 Thread zhouxin
, &tv))==1) >> *rep = radius_recv(sockfd); >>... This test code is cut from a multi-thread radius(Authentication,Accounting protocol,UDP) client. if radius thread count > 18,some thread's select() will take 100% CPU in cygwin envirionment, but

select() take 100% CPU with cygwin1.5.5-1 in WinXP/Win2000

2003-10-30 Thread zhouxin
Cygwin implementation of select() take 100% CPU under multi-thread environment sometimes. I have wrote a short test program(see below test_select.c) that reproduces the bug: #uname -a CYGWIN_NT-5.1 zipxing 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown #gcc -o tsel test_select.c #./tsel 5 (5 threa