-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28315/
-----------------------------------------------------------
(Updated Dec. 5, 2014, 3:43 a.m.)
Review request for mesos, Benjamin Hindman and Niklas Nielsen.
Changes
-------
Reorganize the implementation of delay to be generic. Always construct a new
timer and call back the function when the timer expires.
Add a bool to run_in_event_loop that controls whether we allow
short-circuiting. In the case of the delay function we sometimes rely on the
deferred behavior so we don't allow the short-circuit.
Fix style issues.
Bugs: MESOS-2168
https://issues.apache.org/jira/browse/MESOS-2168
Repository: mesos-git
Description
-------
See summary.
Diffs (updated)
-----
3rdparty/libprocess/Makefile.am aebd281da41325a0246f5c57780928afc22a1baa
3rdparty/libprocess/src/clock.cpp dfe9ced2415b8567abb8c137ab73d90b59164d67
3rdparty/libprocess/src/event_loop.hpp PRE-CREATION
3rdparty/libprocess/src/libev.hpp a43e7d71fdfb6b6482c53a8cbc74dca4fca86c2e
3rdparty/libprocess/src/libev.cpp 8a557ce1d604f27fc1cc2ce601f1fc94f49d1ae6
3rdparty/libprocess/src/process.cpp 89e0e0cc15ab3fc8b1156906ef5f9b314c72c7e3
Diff: https://reviews.apache.org/r/28315/diff/
Testing
-------
Thanks,
Joris Van Remoortere