Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Multi-threading in 5.8.0

by pfaut (Priest)
on Apr 20, 2003 at 00:01 UTC ( #251745=note: print w/replies, xml ) Need Help??


in reply to Multi-threading in 5.8.0

yield will give up the CPU and cause the scheduler to pick a new current thread which might very well be the same thread that just called yield. You can't make assumptions about how threads will be scheduled. If you need to control which thread will execute when, you need to use locking mechanisms.

90% of every Perl application is already written.
dragonchild

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://251745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2021-04-16 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?