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

Method resume

3rdparty/libprocess/src/clock.cpp:355–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354
355void Clock::resume()
356{
357 process::initialize(); // To make sure the event loop is ready.
358
359 synchronized (timers_mutex) {
360 if (clock::paused) {
361 VLOG(2) << "Clock resumed at " << *clock::current;
362
363 clock::paused = false;
364 clock::settling = false;
365 clock::currents->clear();
366
367 // Schedule another "tick" if necessary.
368 clock::scheduleTick(*timers, clock::ticks);
369 }
370 }
371}
372
373
374void Clock::advance(const Duration& duration)

Callers

nothing calls this directly

Calls 1

initializeFunction · 0.70

Tested by

no test coverage detected