Mark Leyva

Results 13 comments of Mark Leyva

> I also don't know a simple and good solution here, at least a portable one. New Linux kernels (since 5.3) have `pidfd`'s, which may allow us to write timed...

>One of the alternative ideas is to make a global SIGCHLD handler and maintain a set of unfinished PIDs globally. Then, make that SIGCHLD handler notify everyone that one of...

> But, unlike your idea, it seems that Python's `subprocess` doesn't wait with a fixed timeout, but implements some kind of exponential backoff instead, starting from 500µs and doubling the...