Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ isResourceLimit
Method
isResourceLimit
src/cpuEngine.cpp:91–93 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
bool CpuEngine::isResourceLimit(int err) {
92
return err == EMFILE || err == ENOMEM;
93
}
94
95
int CpuEngine::createForAllThreads() {
96
int result = EPERM;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected