Message143382
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. |
|
Date |
User |
Action |
Args |
2011-09-02 06:02:18 | ncoghlan | set | recipients:
+ ncoghlan, barry, arigo, pitrou, nadeem.vawda, asvetlov, daniel.urban |
2011-09-02 06:02:17 | ncoghlan | set | messageid: <1314943337.88.0.944459476918.issue12850@psf.upfronthosting.co.za> |
2011-09-02 06:02:17 | ncoghlan | link | issue12850 messages |
2011-09-02 06:02:17 | ncoghlan | create | |
|