This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients arigo, asvetlov, barry, daniel.urban, nadeem.vawda, ncoghlan, pitrou
Date 2011-09-02.06:02:17
SpamBayes Score 3.5852797e-06
Marked as misclassified No
Message-id <1314943337.88.0.944459476918.issue12850@psf.upfronthosting.co.za>
In-reply-to
Content
I quite like the last idea. Something like:

_PyEval_SuspendOtherThreads(PyThreadState *tstate, PyThread_lock_type lock);

  All threads other than tstate will be prevented from executing further interpreter bytecodes until "lock" is released.

Offering this API might pose a problem for various "superinstruction" concepts in the future, though.
History
Date User Action Args
2011-09-02 06:02:18ncoghlansetrecipients: + ncoghlan, barry, arigo, pitrou, nadeem.vawda, asvetlov, daniel.urban
2011-09-02 06:02:17ncoghlansetmessageid: <1314943337.88.0.944459476918.issue12850@psf.upfronthosting.co.za>
2011-09-02 06:02:17ncoghlanlinkissue12850 messages
2011-09-02 06:02:17ncoghlancreate