MCPcopy Create free account
hub / github.com/apache/mesos / execute

Method execute

3rdparty/libprocess/include/process/async.hpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 typename std::enable_if<
83 !std::is_void<typename result_of<F()>::type>::value, int>::type = 0>
84 typename result_of<F()>::type execute(const F& f)
85 {
86 terminate(self()); // Terminate process after function returns.
87 return f();
88 }
89
90 template <
91 typename F,

Callers

nothing calls this directly

Calls 3

NothingClass · 0.85
terminateFunction · 0.70
fFunction · 0.50

Tested by

no test coverage detected