-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25945/
-----------------------------------------------------------
(Updated Sept. 25, 2014, 2:42 p.m.)
Review request for mesos, Benjamin Hindman and Ben Mahler.
Changes
-------
added benh
Bugs: MESOS-1456 and MESOS-1751
https://issues.apache.org/jira/browse/MESOS-1456
https://issues.apache.org/jira/browse/MESOS-1751
Repository: mesos-git
Description
-------
Create a PromiseDispatchEvent to allow discarding of promises if the
DispatchEvent can't be enqueued.
Also converted some shared_ptr to Owned to correctly track ownership.
Diffs
-----
3rdparty/libprocess/include/process/c++11/dispatch.hpp
76da2828cf36b6143d627dac66f3e0cc4416bae4
3rdparty/libprocess/include/process/defer.hpp
ebe6f2db47cab2a3306288d8ebabb720e7cd8976
3rdparty/libprocess/include/process/delay.hpp
487f652c9e9b7c8c3aa8b4edc9e59789cffd8da9
3rdparty/libprocess/include/process/dispatch.hpp
88570f7c078faa7d79b2c187aa6a15e4e939878c
3rdparty/libprocess/include/process/event.hpp
bf689d7270df2c8f1f5c9165d2bbcfdca06e15a8
3rdparty/libprocess/src/process.cpp 8adc8093ab08a51c437b18dc37a7e0ae3f56870b
src/tests/master_tests.cpp 8e4ec1d85c4530b5421387de55036f7d40ee3180
Diff: https://reviews.apache.org/r/25945/diff/
Testing
-------
Added test that fails without the patch.
Ran all tests (make check) with g++-4.4 and clang-3.5.
Thanks,
Dominic Hamon