MCPcopy Create free account
hub / github.com/davisking/dlib / stop

Method stop

dlib/timer/timer.h:372–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 typename T
371 >
372 void timer<T>::
373 stop (
374 )
375 {
376 gc->m.lock();
377 running = false;
378 gc->remove(this);
379 gc->m.unlock();
380 }
381
382// ----------------------------------------------------------------------------------------
383

Callers

nothing calls this directly

Calls 3

removeMethod · 0.80
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected