MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / thread

Method thread

benchmarks/dlib/timer/timer.h:387–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 typename T
386 >
387 void timer<T>::
388 thread (
389 )
390 {
391 // call the action function
392 (ao.*af)();
393 auto_mutex M(gc->m);
394 if (running)
395 {
396 gc->remove(this);
397 gc->add(this);
398 }
399 }
400
401// ----------------------------------------------------------------------------------------
402

Callers

nothing calls this directly

Calls 2

removeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected