In article <[EMAIL PROTECTED]>,
enska  <[EMAIL PROTECTED]> wrote:
>
>Can someone clarify the steps needed to make access to the interpreter
>safe from multiple threads?
>
>I've been reading the docs for days and I still find them very confusing
>and misleading. For example does the PyGILState_Ensure() function lock the
>GIL or just create the thread state? Is thread supposed to call it once on
>creation and then the release function before exiting or is this the
>preferred mechanism to handle the locking? Most of the confusion stems
>from this segment in the documentation.

If you haven't already, try [EMAIL PROTECTED]
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"Typing is cheap.  Thinking is expensive."  --Roy Smith
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to