Message362732
@Antoine: I can sort of see why you consider the small example a red herring, since it mixes threads and fork. Nevertheless, a simpler version (not using an executor) would probably work just fine? It's the edge cases where the mixture becomes explosive. So I still think there's something that could be improved in ThreadPoolExecutor.
@Elad: Your script contains a bug (there is no definition of 'exec_fn'). But anything that returns or raises from the child process does indeed hang.
Since I can repro this on macOS I do QNX is a red herring here. |
|
| Date |
User |
Action |
Args |
| 2020-02-26 20:13:46 | gvanrossum | set | recipients:
+ gvanrossum, pitrou, vstinner, eric.araujo, dstufft, p-ganssle, Elad Lahav |
| 2020-02-26 20:13:46 | gvanrossum | set | messageid: <1582748026.29.0.798028657917.issue39763@roundup.psfhosted.org> |
| 2020-02-26 20:13:46 | gvanrossum | link | issue39763 messages |
| 2020-02-26 20:13:46 | gvanrossum | create | |
|