Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Multi-threading in 5.8.0

by pfaut (Priest)
on Apr 20, 2003 at 00:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251745]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found