Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ work_pool_fini
Function
work_pool_fini
thread/std-compat.cpp:59–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
int work_pool_fini() {
60
if (g_work_pool == nullptr) {
61
log_error(
"work pool is not initialized"
);
62
return -1;
63
}
64
delete g_work_pool;
65
g_work_pool = nullptr;
66
return 0;
67
}
68
69
namespace this_thread {
70
Callers
3
TEST
Function · 0.85
~GlobalEnv
Method · 0.85
TEST
Function · 0.85
Calls
1
log_error
Function · 0.85
Tested by
3
TEST
Function · 0.68
~GlobalEnv
Method · 0.68
TEST
Function · 0.68