[Scons-dev] Partial fix for mixed output with -j
TOM TANNER (BLOOMBERG/ LONDON)
ttanner2 at bloomberg.net
Tue Jun 26 03:15:42 EDT 2012
Oh joy. I've come across another of *those* problems.
There's a race hazard between opening a file and setting the close on exec bit, and another thread actually doing an exec.
There is a change to linux to specify that in the open call, but thats not avaliable on solaris or aix, and in any case, the python tempfile code doesn't make use of it.
Has anyone come across this before and got a sane sort of solution?
More information about the Scons-dev
mailing list