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

Re: Thread-Tie-0.01

From:
Arthur Bergman
Date:
August 12, 2002 05:59
Subject:
Re: Thread-Tie-0.01
Message ID:
451C6608-ADF3-11D6-BC7B-003065D64CBE@contiller.se

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




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About