[Python-Dev] Extension modules, Threading, and the GIL (original) (raw)

Martin v. L�wis martin@v.loewis.de
30 Dec 2002 18:58:06 +0100


David Abrahams <dave@boost-consulting.com> writes:

> Ok. What would break if they wouldn't?

All of the places where Q invokes the callback on arbitrary threads it has started, but which don't hold the GIL.

So Q creates new threads which perform callbacks? But Q also performs the callbacks when invoked from A? Sounds like a bug in Q to me...

Regards, Martin