Message 257089 - Python tracker (original) (raw)

Message257089

Author gregory.p.smith
Recipients chris.jerdonek, gregory.p.smith
Date 2015-12-27.19:16:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id 1451243764.34.0.463183035169.issue25960@psf.upfronthosting.co.za
In-reply-to
Content
fundamentally: this shouldn't work anyways. You are calling wait() from a signal handler. That is a blocking operation. You cannot do that from a signal handler. os.waitpid(p.pid, 1) is os.waitpid(p.pid, os.WNOHANG) which is a non-blocking operation so it works.
History
Date User Action Args
2015-12-27 19:16:04 gregory.p.smith set recipients: + gregory.p.smith, chris.jerdonek
2015-12-27 19:16:04 gregory.p.smith set messageid: 1451243764.34.0.463183035169.issue25960@psf.upfronthosting.co.za
2015-12-27 19:16:04 gregory.p.smith link issue25960 messages
2015-12-27 19:16:04 gregory.p.smith create