MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / wrapper

Method wrapper

src/ThreadPool.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void* ThreadPool::wrapper(void* arg)
68{
69 Thread* thread = (Thread*)arg;
70 thread->running();
71 void* status = thread->getWrapper()(thread->getArg());
72 thread->finished();
73 return status;
74}
75
76void ThreadPool::run()
77{

Callers

nothing calls this directly

Calls 3

runningMethod · 0.80
getArgMethod · 0.80
finishedMethod · 0.80

Tested by

no test coverage detected