> On June 17, 2014, 10:31 p.m., Ian Downes wrote: > > 3rdparty/libprocess/src/subprocess.cpp, line 158 > > <https://reviews.apache.org/r/22688/diff/2/?file=611764#file611764line158> > > > > What about if os::open accepted O_CLOEXEC and did the best thing - used > > it on open if supported by glibc or else used fctl after it was opened.
That's my original code, but later I realized that we don't have pipe2 on bsd. In that case, we anyway cannot guarantee atomicity. - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22688/#review45998 ----------------------------------------------------------- On June 17, 2014, 6:51 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/22688/ > ----------------------------------------------------------- > > (Updated June 17, 2014, 6:51 p.m.) > > > Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone. > > > Bugs: MESOS-1487 > https://issues.apache.org/jira/browse/MESOS-1487 > > > Repository: mesos-git > > > Description > ------- > > See summary. > > This patch only updates the references in libprocess. The update for mesos > will be submitted shortly. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/subprocess.hpp e9d7b31 > 3rdparty/libprocess/src/subprocess.cpp 9f8f37f > 3rdparty/libprocess/src/tests/subprocess_tests.cpp 7d890bf > > Diff: https://reviews.apache.org/r/22688/diff/ > > > Testing > ------- > > 3rdparty/libprocess/tests --gtest_repeat=100 --gtest_filter=*Subproces* > > > Thanks, > > Jie Yu > >
