MCPcopy 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
91bool CpuEngine::isResourceLimit(int err) {
92 return err == EMFILE || err == ENOMEM;
93}
94
95int CpuEngine::createForAllThreads() {
96 int result = EPERM;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected