MCPcopy Create free account
hub / github.com/Tencent/phxrpc / DoCreate

Method DoCreate

phxrpc/network/uthread_context_system.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40UThreadContext * UThreadContextSystem :: DoCreate(size_t stack_size,
41 UThreadFunc_t func, void * args, UThreadDoneCallback_t callback,
42 const bool need_stack_protect) {
43 return new UThreadContextSystem(stack_size, func, args, callback, need_stack_protect);
44}
45
46void UThreadContextSystem :: Make(UThreadFunc_t func, void * args) {
47 func_ = func;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected