Embedded Threading Question

hg hansgeunsmeyer at earthlink.net
Tue Dec 3 20:58:12 EST 2002


tpdietz at hotmail.com (Tim Dietz) wrote in message news:<32355ee1.0212021558.8f7d766 at posting.google.com>...
> > Tim Dietz wrote:

> actually, the thread works very well, until I try to call a C
> function from Python.  That's when the application hangs.  If
> I do not try to interact with C from this new Python thread,
> the application is happy.  I can call these same C functions
> from the main thread in Python, but not from a thread other than
> main.  I am using python22.dll.

How are you calling these C functions? Do the C functions call back into Python
(or do they have access to variables in your embedded Python app)?

Hans



More information about the Python-list mailing list