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

Method thread_readonly2

dlib/test/read_write_mutex.cpp:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 void thread_readonly2 ()
149 {
150 for (int i = 0; i < 6; ++i)
151 {
152 m.lock_readonly();
153 auto_unlock_readonly unlock(m);
154
155 do_readonly_stuff();
156 }
157 dlog << LINFO << "exit thread_readonly2()";
158 }
159
160
161 void perform_test (

Callers

nothing calls this directly

Calls 1

lock_readonlyMethod · 0.45

Tested by

no test coverage detected