Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/tera
/ ThreadWrapper
Method
ThreadWrapper
src/common/thread_pool.h:177–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
175
}
176
177
static void* ThreadWrapper(void* arg) {
178
reinterpret_cast<ThreadPool*>(arg)->ThreadProc();
179
return NULL;
180
}
181
void ThreadProc() {
182
while (true) {
183
Task task;
Callers
nothing calls this directly
Calls
1
ThreadProc
Method · 0.80
Tested by
no test coverage detected