Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ thread1
Method
thread1
dlib/test/multithreaded_object.cpp:241–245 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
239
private:
240
241
void thread1()
242
{
243
while (!should_stop())
244
dlib::sleep(10);
245
}
246
247
void thread2()
248
{
Callers
nothing calls this directly
Calls
1
sleep
Function · 0.50
Tested by
no test coverage detected