[Python-Dev] Extension modules, Threading, and the GIL
David Abrahams
dave@boost-consulting.com
Mon, 30 Dec 2002 12:27:25 -0500
martin@v.loewis.de (Martin v. L=F6wis) writes:
> David Abrahams <dave@boost-consulting.com> writes:
>
>> > So you're saying that the callback functions in B acquire the GIL?
>>=20
>> Yes.
>
> 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.
--=20
David Abrahams
dave@boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution