(). If it returns something I
reuse the structure.
In this way, my code works.
Thanks,
Pablo Yabo
--
http://www.nektra.com
--
http://mail.python.org/mailman/listinfo/python-list
();
PyThreadState_Swap(_state);
}
Pablo Yabo
--
http://www.nektra.com
On 8/13/07, Pablo Yabo [EMAIL PROTECTED] wrote:
Hello,
I want to embed Python in an application and use an API of the application
from Python.
The application uses a library that creates several threads and I the
users
for another solution. I saw Py_NewInterpreter and I tried to use it but it
doesn't work if I don't keep the lock.
Can anyone help me to solve this issue or tell me 'Forget it!'?
Thanks on advance,
Pablo Yabo
--
http://mail.python.org/mailman/listinfo/python-list
for another solution. I saw Py_NewInterpreter and I tried to use it but it
doesn't work if I don't keep the lock.
Can anyone help me to solve this issue or tell me 'Forget it!'?
Thanks on advance,
Pablo Yabo
--
http://www.nektra.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I'm trying to
call Python routines from C/C++. These routines must intereact in a
multi-thread environment.
I mean that routine A will loop waiting for a condition of routine B.
This condition are coded in C so I don't need
routine A running in the same interpreter of routine B.
I tried