Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ thread_end_handler
Method
thread_end_handler
dlib/test/threads.cpp:100–107 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
98
}
99
100
void thread_end_handler (
101
)
102
{
103
auto_mutex M(cm);
104
--count;
105
if (count == 0)
106
sm.signal();
107
}
108
109
void thread1() { thread(1); }
110
void thread2()
Callers
nothing calls this directly
Calls
1
signal
Method · 0.45
Tested by
no test coverage detected