Barry Brevik wrote: > Re: Active Perl 5.8.8 running on Windows. > > Back when I was doing some Assembly language programming, there was a > system call to "yield" to the Windows operating system, in other words, > give up the rest of your time slice. > > Is there a way to do this with Perl? I'm writing an app that > continuously loops waiting for something to do, and it would be good to > give control back to the OS when idle. There is Win32::GUI::DoEvents(), > but I am unsure if this really does the same thing. >
how about sleep ... or usleep (provided by Time::HiRes) ? -Mike _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
