MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / __should_bypass_threadpool

Function __should_bypass_threadpool

thread/thread-pool.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 static bool __bypass_threadpool = false;
24
25 bool __should_bypass_threadpool() {
26 return __bypass_threadpool;
27 }
28
29 void set_bypass_threadpool(bool flag) {
30 __bypass_threadpool = true;

Callers 2

thread_create_exMethod · 0.85
joinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected