MCPcopy Create free account
hub / github.com/catboost/catboost / EnqueueSafe

Method EnqueueSafe

library/cpp/neh/pipequeue.h:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 public:
107 template <class TPtr>
108 inline void EnqueueSafe(TPtr req) {
109 Enqueue(req.Get());
110 req.Release();
111 }
112
113 inline void Enqueue(T* req) {
114 Q_.Enqueue(req);

Callers 2

ScheduleMethod · 0.45
EnqueueMethod · 0.45

Calls 3

EnqueueFunction · 0.50
GetMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected