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 arigo
Recipients arigo, barry, daniel.urban, nadeem.vawda, ncoghlan
Date 2011-08-30.14:03:34
SpamBayes Score 0.00067409844
Marked as misclassified No
Message-id <1314713015.89.0.959269258486.issue12850@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I followed Nick's suggestion, and I finally found out how to write the code in order to avoid all (or most?) deadlocks without any change in the rest of CPython.  It requires a way to be sure that some callback function is invoked _at the next cross-bytecode point_, and not (or not much) later, which I also include here.  Here is the updated patch.
History
Date User Action Args
2011-08-30 14:03:36arigosetrecipients: + arigo, barry, ncoghlan, nadeem.vawda, daniel.urban
2011-08-30 14:03:35arigosetmessageid: <1314713015.89.0.959269258486.issue12850@psf.upfronthosting.co.za>
2011-08-30 14:03:35arigolinkissue12850 messages
2011-08-30 14:03:35arigocreate