in reply to Re: Re: I want to forfeit my timeshare
in thread I want to forfeit my timeshare
I think Perl 6 will allow decimal seconds in the sleep command, so you can say e.g. sleep(0.01);.
In Win32, I'd never write such a loop anyway. I have Winsock post a message when activity occurs (ready to read, ready to write, etc) on a socket, and that is handled along with the GUI messages.
So what you really want is a standard Perl syntax for having socket activity trigger a callback dispatch, and that mechanism can be implemented in whatever way is nice and efficient on each platform.
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: I want to forfeit my timeshare
by jepri (Parson) on Aug 25, 2001 at 01:35 UTC | |
by John M. Dlugosz (Monsignor) on Aug 25, 2001 at 02:34 UTC |