Author gvanrossum
Recipients Elad Lahav, dstufft, eric.araujo, gvanrossum, p-ganssle, pitrou, vstinner
Date 2020-02-26.20:13:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@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:46gvanrossumsetrecipients: + gvanrossum, pitrou, vstinner, eric.araujo, dstufft, p-ganssle, Elad Lahav
2020-02-26 20:13:46gvanrossumsetmessageid: <>
2020-02-26 20:13:46gvanrossumlinkissue39763 messages
2020-02-26 20:13:46gvanrossumcreate