Python with PyGIL_Ensure?

googler.1.webmaster at spamgourmet.com googler.1.webmaster at spamgourmet.com
Thu Dec 25 05:37:59 EST 2008


Hi!

I have a small problem with my python embedded interpreter. I do some
stuff where two threads exists which do some pythons stuff in the same
stuff.

So bpoth call PyGILState_Ensure() which occurs a crash. What can I do,
that one thread waits until the other thread released the gil state?

Thanks a lot.



More information about the Python-list mailing list