Writing a thread-safe class

sturlamolden sturlamolden at yahoo.no
Sat Sep 12 17:49:40 CEST 2009


On 12 Sep, 15:54, Timothy Madden <terminato... at gmail.com> wrote:

> I find that hard to believe, but I will look into it.

Carl Banks is correct.

There is a mutex called "the global interpreter lock" that takes care
of this. You can have multiple threads running, but access to the
Python interpreter is serialized.






More information about the Python-list mailing list