select(undef, undef, undef, 0.05); works just nicely enough , thank you :)
i'm not gonna post all the code here again just must replace the row threads->yield; with the line given above, works just fine. tu. [i wonder how i couln't find it in the manual myself] #$%>-----Original Message----- #$%>From: Elizabeth Mattijsen [mailto:[EMAIL PROTECTED]] #$%>Sent: Monday, September 23, 2002 1:41 PM #$%>To: Martin Roos; Perl-Ithreads #$%>Subject: RE: Yippii , got it working, my first multithreaded tk app ;-) #$%>q&a #$%> #$%> #$%>At 01:00 PM 9/23/02 +0300, Martin Roos wrote: #$%>>ps. does anyone know a nicer way to sleep a bit , like #$%>0.010-0.050 msec ? #$%>>the yield thing still kills the cpu dead but it at least let's #$%>some other #$%>>process make their moves, without it the program will almost #$%>hang an older #$%>>machine :( still a little sleep would be nicer #$%> #$%>perldoc -f select #$%> #$%> #$%> #$%>Liz #$%>