[capi-sig] PyThreads and pthreads

Shaun Savage savages at mozapps.org
Sat Jun 5 10:45:37 CEST 2010

Next problems, (and hope last)

I have started some Python threads, and want to wait for them to finish.

I wrote this program to demonstrate my problem. I am on a 64 bit 
machine, Ubuntu.

I tried playing around with GIL state but it does not change anything, 
so it is commented out.

when using pthreads it works (of course)
when I use python threads the sleep does not work and the threads all 
exit on the _join

More information about the capi-sig mailing list