Ken Kinder <ken@kenkinder.com> writes:
Itamar Shtull-Trauring wrote:
On Mon, 2005-03-14 at 14:27 -0800, Ed Suominen wrote:
Ah, so *that* is why the SANE GUI frontend I'm writing [1] pauses scanning and window events when it's using PIL to generate a thumbnail of the last page scanned, despite my use of deferToThread.
Arguably not releasing the GIL in C code is a bug, and someone should probably report it.
They are aware of it, and in the alpha version of PIL, *some* operations no longer acquire the GIL, but many still do.
Well, err, "some operations no longer acquire the GIL" reads slightly backwards to me; "some operations now release the GIL" seems fairer -- PIL is only thwarting you passively, not actively :) Cheers, mwh -- Enlightenment is probably antithetical to impatience. -- Erik Naggum, comp.lang.lisp