MCPcopy Create free account
hub / github.com/Tencent/phxsql / start

Method start

phxsqlproxy/phxcoroutine.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int Coroutine::start() {
55 co_create(&routine_, NULL, RoutineRun, this);
56 resume();
57 assert(routine_ != NULL);
58 return 0;
59}
60
61void Coroutine::resume() {
62 co_resume(routine_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected