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

Method run

phxsqlproxy/test/testsqlproxy.cpp:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 void run() {
137 co_init_curr_thread_env();
138 for (int i = 0; i < routine_num_; ++i) {
139 TestPHXSqlProxyRoutine * routine = new TestPHXSqlProxyRoutine(config_, thread_idx_, i);
140 routine->start();
141 }
142 co_eventloop(co_get_epoll_ct(), 0, 0);
143 }
144
145 private:
146 phxsqlproxy::PHXSqlProxyConfig * config_;

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected