Threads in embedded interpreter doesn't run

devrim.erdem at devrim.erdem at
Wed Oct 20 16:21:31 CEST 2004

Jeff Shannon <jeff at> wrote in message news:<10nbdfqhgkgra70 at>...
> devrim.erdem at wrote:
> >Could anyone give me some hints to understand why the thread can not
> >execute during my application loop.
> >  
> >
> This is a complete shot in the dark, but is there any chance that your 
> rendering loop is holding on to the Python GIL?  Doing so would prevent 
> any (other) Python code from running for as long as the lock is held.

Thanks Jeff.

I haven't so far explicitly done anything with Python GIL in my
application. Is there a function which could tell me if the Python GIL
is held or not ?

More information about the Python-list mailing list