MCPcopy Create free account
hub / github.com/apple/foundationdb / Thread

Method Thread

flow/IThreadPool.cpp:35–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 THREAD_HANDLE handle; // Owned by main thread
34 static thread_local IThreadPoolReceiver* threadUserObject;
35 explicit Thread(ThreadPool* pool, IThreadPoolReceiver* userObject) : pool(pool), userObject(userObject) {}
36 ~Thread() { ASSERT_ABORT(!userObject); }
37
38 void run() {

Callers 4

run_threadsFunction · 0.80
run_threadsFunction · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 1

runMethod · 0.64