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

Method thread2

examples/multithreaded_object_ex.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void thread2()
98 {
99 // This is a thread. It will loop until it is told that it should terminate.
100 while (should_stop() == false)
101 {
102 dlog << LINFO << "thread2(): hurray threads!";
103 dlib::sleep(800);
104 }
105 }
106
107};
108

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.50

Tested by

no test coverage detected