MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / stop

Method stop

src/yvalve/MasterImplementation.cpp:369–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 }
368
369 void stop(CheckStatusWrapper* status, ITimer* timer)
370 {
371 try
372 {
373 MutexLockGuard guard(timerAccess, FB_FUNCTION);
374
375 TimerEntry* curTimer = getTimer(timer);
376 if (curTimer)
377 {
378 curTimer->timer->release();
379 timerQueue->remove(curTimer);
380 }
381 }
382 catch (const Firebird::Exception& ex)
383 {
384 ex.stuffException(status);
385 }
386 }
387};
388
389ITimerControl* MasterImplementation::getTimerControl()

Callers

nothing calls this directly

Calls 4

getTimerFunction · 0.85
releaseMethod · 0.45
removeMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected