Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Multi-threading in 5.8.0

by petesmiley (Friar)
on Apr 21, 2003 at 15:58 UTC ( #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
Node Status?
node history
Node Type: note [id://252037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2020-04-08 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (45 votes). Check out past polls.

    Notices?