----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19361/#review37607 -----------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp <https://reviews.apache.org/r/19361/#comment69226> Why not: ASSERT_EQ(0, pthread_create(...)); and kill 'create'? 3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp <https://reviews.apache.org/r/19361/#comment69228> Is pthread_create async signal safe? Not sure what's the best way here. Using clone directly? - Jie Yu On March 18, 2014, 5:54 p.m., Ian Downes wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19361/ > ----------------------------------------------------------- > > (Updated March 18, 2014, 5:54 p.m.) > > > Review request for mesos and Vinod Kone. > > > Repository: mesos-git > > > Description > ------- > > Use directory entries in /proc/<pid>/task/ to get threads for <pid>. > > Two tests added which create children with 0 and 2 additional threads. > > > Diffs > ----- > > 3rdparty/libprocess/3rdparty/stout/include/stout/proc.hpp > 201e4b88e352baf4ce0549c6359c034a3e1d960d > 3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp > bc7e24821ef0bf887f0879033b0bb8dab70dcc2e > > Diff: https://reviews.apache.org/r/19361/diff/ > > > Testing > ------- > > make check # Linux > > > Thanks, > > Ian Downes > >
