-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16235/
-----------------------------------------------------------

(Updated Dec. 18, 2013, 2:15 a.m.)


Review request for mesos, Benjamin Hindman and Vinod Kone.


Changes
-------

Re-worked this to use sysctl on OS X to be thread-safe.


Bugs: MESOS-844
    https://issues.apache.org/jira/browse/MESOS-844


Repository: mesos-git


Description
-------

This can be used to identify a reboot, should the boot id change.

For POSIX systems, the boot time in seconds is used as a good approximation.


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 
2382d40a51036782e09e1fc3123c8791834510ea 
  3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp 
a0b624b0c2e1f1fca6dd68a54317f6c0c11e7862 

Diff: https://reviews.apache.org/r/16235/diff/


Testing
-------

Added a test, make check on OS X and CentOS 5.


Thanks,

Ben Mahler

Reply via email to