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

Method AcceptThread

phxsqlproxy/accept_thread.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace phxsqlproxy {
42
43AcceptThread::AcceptThread(PHXSqlProxyConfig * config, const std::vector<WorkerThread *> & worker_threads,
44 int listen_fd) {
45 for (size_t i = 0; i < worker_threads.size(); ++i) {
46 worker_threads_.push_back(worker_threads[i]);
47 }
48 config_ = config;
49 listen_fd_ = listen_fd;
50}
51
52AcceptThread::~AcceptThread() {
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected