This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SpecLad
Recipients SpecLad
Date 2019-11-21.21:43:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574372623.22.0.938109009233.issue38888@roundup.psfhosted.org>
In-reply-to
Content
Popen.wait(timeout) is currently implemented on Unix-like systems using a busy wait, since the waitpid system call doesn't have a timeout argument.

On Linux, it's now possible to do better than that. You can create a PID file descriptor using pidfd_create and poll that descriptor with the specified timeout. Popen.wait should make use of that.
History
Date User Action Args
2019-11-21 21:43:43SpecLadsetrecipients: + SpecLad
2019-11-21 21:43:43SpecLadsetmessageid: <1574372623.22.0.938109009233.issue38888@roundup.psfhosted.org>
2019-11-21 21:43:43SpecLadlinkissue38888 messages
2019-11-21 21:43:42SpecLadcreate