----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36822/#review93161 -----------------------------------------------------------
src/examples/long_lived_executor.cpp (lines 79 - 80) <https://reviews.apache.org/r/36822/#comment147430> Why not just capture 'driver' and 'task' and make the lambda we're using in the std::thread constructor be 'run(driver, task);'? - Benjamin Hindman On July 26, 2015, 7:02 p.m., Joris Van Remoortere wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36822/ > ----------------------------------------------------------- > > (Updated July 26, 2015, 7:02 p.m.) > > > Review request for mesos, Benjamin Hindman, Artem Harutyunyan, and Michael > Park. > > > Bugs: MESOS-3120 > https://issues.apache.org/jira/browse/MESOS-3120 > > > Repository: mesos > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/examples/long_lived_executor.cpp > d9b7fa1eefd1c53447244586797cb96a5c33d4f1 > > Diff: https://reviews.apache.org/r/36822/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Joris Van Remoortere > >