Threading, real or simulated?

Sam sam at email-scan.com
Thu Sep 22 19:07:35 EDT 2005


Antoon Pardon writes:

>>> Assuming you mean threading.Thread, this is a native thread.  It is not a simulation.  Something else is going wrong.
>>
>> Then I must have something locked.  Here's what I do:
> 
> Yes you have locked the GIL. Take a look at the following
> URL: http://docs.python.org/api/threads.html, hope it helps.

Yes, thank you.  That was it.

Since I was creating threads, and messing with them, in pure Python with 
threading.Thread, I never had an opportunity to read this part of the API 
spec.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050922/69a7788d/attachment.sig>


More information about the Python-list mailing list