Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Updating global variable in multi-threaded program

by hdb (Monsignor)
on Jan 29, 2014 at 12:20 UTC ( #1072497=note: print w/replies, xml ) Need Help??


in reply to Updating global variable in multi-threaded program

Besides sharing variables between threads, the documentation also explains how to lock shared variables to avoid clashes when multiple threads try to access a variable at the same time.

  • Comment on Re: Updating global variable in multi-threaded program

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-12-11 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?