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

Method afterDelay

3rdparty/libprocess/src/tests/process_tests.cpp:1244–1252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242 }
1243
1244 void afterDelay()
1245 {
1246 dispatch(self(), &SettleProcess::afterDispatch);
1247 os::sleep(Milliseconds(10));
1248 TimeoutProcess timeoutProcess;
1249 spawn(timeoutProcess);
1250 terminate(timeoutProcess);
1251 wait(timeoutProcess);
1252 }
1253
1254 void afterDispatch()
1255 {

Callers

nothing calls this directly

Calls 6

MillisecondsClass · 0.85
dispatchFunction · 0.50
sleepFunction · 0.50
spawnFunction · 0.50
terminateFunction · 0.50
waitFunction · 0.50

Tested by

no test coverage detected