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

Method ScheduleResponse

library/cpp/neh/multiclient.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 void ScheduleResponse(TRequestSupervisor* rs, THandleRef& h) {
291 TJobPtr j(new TNewResponse(rs, h));
292 JQ_.Enqueue(j);
293 if (Y_UNLIKELY(Shutdown_)) {
294 CleanQueue();
295 } else {
296 Signal();
297 }
298 }
299
300 //return true, if deadline re-installed to more late time
301 bool SetNearDeadline(const TInstant& deadline) {

Callers 1

OnNotifyMethod · 0.80

Calls 2

SignalFunction · 0.85
EnqueueMethod · 0.45

Tested by

no test coverage detected