Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ thread
Function
thread
examples/logger_ex_2.cpp:70–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
};
69
70
void thread (void*)
71
{
72
logt << LINFO <<
"entering our thread"
;
73
74
75
test mytest;
76
mytest.warning();
77
78
dlib::sleep(200);
79
80
logt << LINFO <<
"exiting our thread"
;
81
}
82
83
84
void setup_loggers (
Callers
nothing calls this directly
Calls
2
warning
Method · 0.80
sleep
Function · 0.50
Tested by
no test coverage detected