----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37821/#review96625 -----------------------------------------------------------
3rdparty/libprocess/src/event_loop.hpp (line 45) <https://reviews.apache.org/r/37821/#comment152218> Might be good to document that this method is async (i.e., we don't guarantee that the event loop is stopped when the function returns). 3rdparty/libprocess/src/libev.cpp (line 36) <https://reviews.apache.org/r/37821/#comment152216> The comment above says this code block "defines the initial values for all of the declarations made in libev.hpp"; unfortunately this doesn't apply to shutdown_watcher. 3rdparty/libprocess/src/process.cpp (line 2211) <https://reviews.apache.org/r/37821/#comment152219> This leaks "request". - Neil Conway On Aug. 27, 2015, 12:14 a.m., Greg Mann wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37821/ > ----------------------------------------------------------- > > (Updated Aug. 27, 2015, 12:14 a.m.) > > > Review request for mesos, Benjamin Hindman, Joris Van Remoortere, and > switched to 'mcypark'. > > > Bugs: MESOS-3158 > https://issues.apache.org/jira/browse/MESOS-3158 > > > Repository: mesos > > > Description > ------- > > Join threads in libprocess when shutting down. > > > Diffs > ----- > > 3rdparty/libprocess/src/event_loop.hpp > 36a4cd2b1ff59f6922173ad17115bf80cc3c8f30 > 3rdparty/libprocess/src/libev.cpp 97a2694f9b10bc61841443b21f4f96055493e840 > 3rdparty/libprocess/src/libevent.cpp > d7c47fbd1dbdec1fc974840e6f3a1428a8f189d5 > 3rdparty/libprocess/src/process.cpp > 755187c8761137cb2bf2f7295b29a63f63c68bc6 > > Diff: https://reviews.apache.org/r/37821/diff/ > > > Testing > ------- > > After configuring with both "../configure" and "../configure > --enable-libevent --enable-ssl": > > make check > > > Thanks, > > Greg Mann > >