MCPcopy Create free account
hub / github.com/Tencent/PhoenixGo / TaskQueue

Method TaskQueue

common/task_queue.h:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27{
28 public:
29 TaskQueue(int capacity = 0)
30 : m_capacity(capacity), m_size(0), m_is_close(false)
31 {
32 }
33
34 template<class U>
35 void Push(U &&elem)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected