-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63675/
-----------------------------------------------------------
Review request for mesos, Benjamin Bannier and Jie Yu.
Bugs: MESOS-8159
https://issues.apache.org/jira/browse/MESOS-8159
Repository: mesos
Description
-------
Added a non-allocating variant of `os::clone` in the
`os::signal_safe` namespace. This encapsulates the lambda
trampoline, but requires the caller to bring their own stack
since we can't know when it is safe to implicitly allocate
a stack.
Now that we have `os::signal_safe::clone`, there is no need for
`os::clone` to take an optional `os::Stack` argument. We can
remove that and simplify the cleanup logic.
Diffs
-----
3rdparty/stout/include/stout/os/linux.hpp
68b4090aa5e6f23609c487128d91301755ae0e46
Diff: https://reviews.apache.org/r/63675/diff/1/
Testing
-------
sudo make check (Fedora 26)
Thanks,
James Peach