[Python-Dev] Pythonic concurrency

Nick Coghlan ncoghlan at gmail.com
Tue Oct 11 16:55:31 CEST 2005

Robert Brewer wrote:
> "Somewhat alleviated" and somewhat worsened. I've had half a dozen 
> conversations in the last year about sharing data between threads; in 
> every case, I've had to work quite hard to convince the other person 
> that threading.local is *not* magic pixie thread dust. Each time, they 
> had come to the conclusion that if they had a global variable, they 
> could just stick a reference to it into a threading.local object and 
> instantly have safe, concurrent access to it.

Ouch. Copy, yes, reference, no. . .


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list