in reply to Updating global variable in multi-threaded program

Threads: why locking is required when using shared variables explains it.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Updating global variable in multi-threaded program