develooper Front page | perl.ithreads | Postings from August 2002

Re: Thread-Tie-0.01

Arthur Bergman
August 12, 2002 05:59
Re: Thread-Tie-0.01
Message ID:

On måndag, augusti 12, 2002, at 12:16 , Elizabeth Mattijsen wrote:

> You mean an OS that yields()?  The thing is that using shared variables 
> _doesn't_ eat away at CPU as my approach does.  Maybe that is caused by 
> the client/server swap you (or Arthur?) were describing...

If yield() doesn't yield one might try sleep 0;

Arthur Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About