Check out the new USENIX Web site.
[ActiveState] Threading

Perl can be invoked from any thread if python is compiled with multi-threading support, but all threads run the same perl interpreter (even for an ithreads-enabled perl).

The Python interpreter lock is released when we enter perl, and there is a separate single lock protecting the perl interpreter.

This prevents two threads from running inside perl at the same time.

At compile time, the Python interpreter lock can be selected to protect both python/perl. This give less locking overhead and less concurrency.


 www.ActiveState.com 24/32 ««/\»»