Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Multi-threading in 5.8.0

by petesmiley (Friar)
on Apr 21, 2003 at 15:58 UTC ( [id://252037]=note: print w/replies, xml ) Need Help??


in reply to Multi-threading in 5.8.0

Also to top off what everyone has written, yield will behave as dictated by the platform it runs on. In some cases it might now do anything for you. From some of the work I have done, it takes some time to start a fresh thread. Your first thread might be finished by the time the second thread has actually started in which case a yield would be moot.

If you are depending on the order in which your threads execute then you should carefully reconsider your design.

smiles

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found