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

Method delayed_add

dlib/test/timer.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void delayed_add()
51 {
52 {
53 auto_mutex lock(m);
54 ++delayed_add_started_count;
55 count_changed.broadcast();
56 }
57 dlib::sleep(1000);
58 print_spinner();
59 add();
60 }
61
62 int get_count()
63 {

Callers

nothing calls this directly

Calls 4

print_spinnerFunction · 0.85
addFunction · 0.70
sleepFunction · 0.50
broadcastMethod · 0.45

Tested by

no test coverage detected