Message123742
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. |
|
Date |
User |
Action |
Args |
2010-12-10 19:15:15 | milko.krachounov | set | recipients:
+ milko.krachounov, gregory.p.smith, paul.moore, Giovanni.Bajo |
2010-12-10 19:15:15 | milko.krachounov | set | messageid: <1292008515.18.0.22370411974.issue7213@psf.upfronthosting.co.za> |
2010-12-10 19:15:13 | milko.krachounov | link | issue7213 messages |
2010-12-10 19:15:13 | milko.krachounov | create | |
|