MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / ThreadWrapper

Method ThreadWrapper

src/base/taskpool.hpp:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72 private:
73 static void* ThreadWrapper(void* arg) {
74 reinterpret_cast<TaskPool*>(arg)->ThreadProc();
75 return NULL;
76 }
77 void ThreadProc() {
78 while (true) {
79 Task task;

Callers

nothing calls this directly

Calls 1

ThreadProcMethod · 0.80

Tested by

no test coverage detected