Author milko.krachounov
Recipients Giovanni.Bajo, gregory.p.smith, milko.krachounov, paul.moore
Date 2010-12-10.19:15:13
SpamBayes Score 9.1224e-06
Marked as misclassified No
Message-id <1292008515.18.0.22370411974.issue7213@psf.upfronthosting.co.za>
In-reply-to
Content
The cloexec approach still doesn't help with issue 2320. In fact, with threading and people calling subprocess from multiple threads, *this* issue wouldn't be fixed with my patch either unless mutexes are used. It's impossible to avoid a race here with threads and no mutex as far as I can tell. It would mean that the creation of the pipe, the fork and the setting of the CLOEXEC flag needs to be done atomically... yikes.
History
Date User Action Args
2010-12-10 19:15:15milko.krachounovsetrecipients: + milko.krachounov, gregory.p.smith, paul.moore, Giovanni.Bajo
2010-12-10 19:15:15milko.krachounovsetmessageid: <1292008515.18.0.22370411974.issue7213@psf.upfronthosting.co.za>
2010-12-10 19:15:13milko.krachounovlinkissue7213 messages
2010-12-10 19:15:13milko.krachounovcreate