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

Class AcceptThread

phxsqlproxy/accept_thread.h:27–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25typedef struct tagWorkerConfig WorkerConfig_t;
26
27class AcceptThread : public PhxThread {
28 public:
29 AcceptThread(PHXSqlProxyConfig * config, const std::vector<WorkerThread *> & worker_threads, int fd);
30
31 virtual ~AcceptThread();
32
33 void run();
34
35 private:
36 std::vector<WorkerThread *> worker_threads_;
37
38 int listen_fd_;
39
40 IORoutineMgr * io_routine_mgr_;
41
42 PHXSqlProxyConfig * config_;
43};
44
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected