Message324658
Multi-process need uses multiprocessing.Manager to share, the current problem should be tee-objcet thread safety issue.As Xiang Zhang said,`PyIter_Next` in `teedataobject_getitem` releases GIL.So the thread lock is necessary,and only lead iterator uses it when runs `PyIter_Next`.Can anyone help me review it. |
|
Date |
User |
Action |
Args |
2018-09-06 03:34:22 | hongweipeng | set | recipients:
+ hongweipeng, rhettinger, josh.r, davin, xiang.zhang, xtreak, carlorosati |
2018-09-06 03:34:22 | hongweipeng | set | messageid: <1536204862.54.0.56676864532.issue34410@psf.upfronthosting.co.za> |
2018-09-06 03:34:22 | hongweipeng | link | issue34410 messages |
2018-09-06 03:34:22 | hongweipeng | create | |
|