MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / start

Method start

deps/memkind/src/test/allocator_perf_tool/Thread.hpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 Thread(Runnable *runnable) : runnable_task(runnable) {}
34
35 void start()
36 {
37 int err = pthread_create(&thread_handle, NULL, execute_thread,
38 static_cast<void *>(runnable_task));
39 assert(!err);
40 };
41
42 void wait()
43 {

Callers 7

TEST_FFunction · 0.45
TEST_FFunction · 0.45
runMethod · 0.45
runMethod · 0.45
startMethod · 0.45
mainFunction · 0.45

Calls 1

pthread_createFunction · 0.50

Tested by

no test coverage detected