c++ callbacks and thread safety

Michal Wallace sabren at manifestation.com
Sun Feb 13 22:51:23 EST 2000

I wrote in message <885r3l$r3n$1 at nntp9.atl.mindspring.net>...

>I gather that I need to do some kind of thread checking here... but I don't
>understand what to do. I tried putting Py_BEGIN_ALLOW_THREADS
>and Py_END_ALLOW_THREADS in various places, but that didn't seem
>to help... Besides, I'm just guessing now, and I want to understand... Can
>someone tell me what I'm doing wrong, or perhaps point me in the right
>direction? Thanks! :)

Never mind! :)

I spent a good 20 hours tearing my hair out this weekend and it works
just fine now. :)

After looking at the Thread-SIG archives, I totally understand why
questions about this fall on dead ears... It's just an all around mess.

Maybe I'll write a HOWTO...


More information about the Python-list mailing list