Stefan Behnel wrote:
> BTW, are you sure that threading support has been initialised in your
> program? Just a wild guess, but maybe "import threading" at module level
> helps? If so, we may be able to fix that.

I suspect the thread doesn't have a valid thread state. Python needs a
PyThreadState for every thread that runs Python code. You have to call
PyThreadState_New() inside the thread exactly once. The code in
Modules/threadmodule.c shows you how.

Christian

_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to