[capi-sig] Threading

Hrvoje Niksic hniksic at xemacs.org
Wed Sep 5 22:39:31 CEST 2007

"Pablo Yabo" <pablo.yabo at gmail.com> writes:

> Great, I didn´t know that. I mean that if a thread waits for a
> condition of another thread or sleeps but I think that they should
> release interpreter lock also.

And you're right.  After all, time.sleep is an easy and obvious target
for releasing the GIL, and releasing it when waiting for a condition
is necessary to avoid deadlock.

More information about the capi-sig mailing list