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

Method thread1

examples/multithreaded_object_ex.cpp:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85private:
86
87 void thread1()
88 {
89 // This is a thread. It will loop until it is told that it should terminate.
90 while (should_stop() == false)
91 {
92 dlog << LINFO << "thread1(): hurray threads!";
93 dlib::sleep(700);
94 }
95 }
96
97 void thread2()
98 {

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.50

Tested by

no test coverage detected