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

Method clear

dlib/timer/timer.h:263–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 typename T
262 >
263 void timer<T>::
264 clear(
265 )
266 {
267 auto_mutex M(gc->m);
268 running = false;
269 gc->remove(this);
270 delay = 1000;
271 next_time_to_run = 0;
272 }
273
274// ----------------------------------------------------------------------------------------
275

Callers

nothing calls this directly

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected