Message358187
This is actually true and it's quite easy to produce a bug that triggers a segmentation fault when iterating over a large list of threads create dynamically.
That makes PyThreadState_Next barely usable for any program that has a few threads. The head mutex needs to be locked to be able to iterate safely over the list of thread. |
|
Date |
User |
Action |
Args |
2019-12-10 13:37:07 | jd | set | recipients:
+ jd, jpe, ajaksu2, BreamoreBoy |
2019-12-10 13:37:06 | jd | set | messageid: <1575985026.94.0.481669321044.issue1021318@roundup.psfhosted.org> |
2019-12-10 13:37:06 | jd | link | issue1021318 messages |
2019-12-10 13:37:06 | jd | create | |
|