Simple threading

Fredrik Lundh fredrik at pythonware.com
Sat Nov 25 16:30:47 EST 2006


Grant Edwards wrote:

> That depends on the type of the global and how they're used.
> Re-binding a name is always an atomic operation.  Modifying
> many mutable objects is atomic.

footnote: for more on this topic, see this FAQ entry:

http://effbot.org/pyfaq/what-kinds-of-global-value-mutation-are-thread-safe.htm

and this recent python-dev thread that discusses that entry:

http://mail.python.org/pipermail/python-dev/2006-November/thread.html#69981

</F>




More information about the Python-list mailing list