MCPcopy Create free account
hub / github.com/alibaba/euler / GetInstance

Method GetInstance

euler/client/completion_queue_pool.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30class CompletionQueuePool {
31 public:
32 static CompletionQueuePool *GetInstance() {
33 static CompletionQueuePool
34 completion_queue_pool(std::thread::hardware_concurrency() * 2);
35 return &completion_queue_pool;
36 }
37
38 CompletionQueuePool(CompletionQueuePool const&) = delete;
39 void operator=(CompletionQueuePool const&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected