----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66481/#review200605 -----------------------------------------------------------
I think we should just change all the usages of `pid` rather than renaming it to `pid_`. - James Peach On April 5, 2018, 11:31 p.m., Zhitao Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/66481/ > ----------------------------------------------------------- > > (Updated April 5, 2018, 11:31 p.m.) > > > Review request for mesos, Andrew Schwartzmeyer and James Peach. > > > Repository: mesos > > > Description > ------- > > This avoids unix's assumption that `pid_t` is a signed integer (which is > not the case on Windows) and explicitly shows whether a pid has been > assigned from launching. > > We also changed the member variable to `pid_` to avoid variable > shadowing in `reaped` method. > > > Diffs > ----- > > src/launcher/executor.cpp 383655230fcdad30b652ea984cb9f5fc9c49dd38 > > > Diff: https://reviews.apache.org/r/66481/diff/1/ > > > Testing > ------- > > `make` on Linux. > > > Thanks, > > Zhitao Li > >
