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

Method test3_c1

dlib/test/multithreaded_object.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 {
103 public:
104 test3_c1()
105 {
106 DLIB_TEST(number_of_threads_registered() == 0);
107 DLIB_TEST(number_of_threads_alive() == 0);
108 DLIB_TEST(is_running() == false);
109 register_thread(*this,&test3_c1::thread);
110 DLIB_TEST(number_of_threads_registered() == 1);
111 DLIB_TEST(number_of_threads_alive() == 0);
112 DLIB_TEST(is_running() == false);
113 start();
114 DLIB_TEST(number_of_threads_registered() == 1);
115 DLIB_TEST(is_running() == true);
116 }
117
118 ~test3_c1()
119 {

Callers

nothing calls this directly

Calls 1

startFunction · 0.85

Tested by

no test coverage detected