Message143211
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. |
|
Date |
User |
Action |
Args |
2011-08-30 14:03:36 | arigo | set | recipients:
+ arigo, barry, ncoghlan, nadeem.vawda, daniel.urban |
2011-08-30 14:03:35 | arigo | set | messageid: <1314713015.89.0.959269258486.issue12850@psf.upfronthosting.co.za> |
2011-08-30 14:03:35 | arigo | link | issue12850 messages |
2011-08-30 14:03:35 | arigo | create | |
|