MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / thread_main

Method thread_main

libhsclient/thread.hpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 T *operator ->() { return &obj; }
68 private:
69 static void *thread_main(void *arg) {
70 thread *p = static_cast<thread *>(arg);
71 p->obj();
72 return 0;
73 }
74 private:
75 T obj;
76 pthread_t thr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected