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

Method thread

libhsclient/thread.hpp:21–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19template <typename T>
20struct thread : private noncopyable {
21 template <typename Ta> thread(const Ta& arg, size_t stack_sz = 256 * 1024)
22 : obj(arg), thr(0), need_join(false), stack_size(stack_sz) { }
23 template <typename Ta0, typename Ta1> thread(const Ta0& a0,
24 volatile Ta1& a1, size_t stack_sz = 256 * 1024)
25 : obj(a0, a1), thr(0), need_join(false), stack_size(stack_sz) { }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected