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

Function dispatch

3rdparty/libprocess/src/process.cpp:4126–4135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4124namespace internal {
4125
4126void dispatch(
4127 const UPID& pid,
4128 std::unique_ptr<lambda::CallableOnce<void(ProcessBase*)>> f,
4129 const Option<const std::type_info*>& functionType)
4130{
4131 process::initialize();
4132
4133 DispatchEvent* event = new DispatchEvent(std::move(f), functionType);
4134 process_manager->deliver(pid, event, __process__);
4135}
4136
4137} // namespace internal {
4138} // namespace process {

Callers 15

authenticateMethod · 0.70
terminateMethod · 0.70
loopMethod · 0.70
~DataMethod · 0.70
authenticateMethod · 0.70
sendMethod · 0.70
disconnectMethod · 0.70
disconnectedMethod · 0.70
runMethod · 0.70
stopMethod · 0.70
handleMethod · 0.70
foreachFunction · 0.70

Calls 2

deliverMethod · 0.80
initializeFunction · 0.70

Tested by 15

TESTFunction · 0.40
TESTFunction · 0.40
handlerMethod · 0.40
runMethod · 0.40
TEST_FFunction · 0.40
orderMethod · 0.40
afterDelayMethod · 0.40
TEST_PFunction · 0.40
fooMethod · 0.40
_fooMethod · 0.40
pulseMethod · 0.40
TEST_FFunction · 0.40