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

Method SendResponse

library/cpp/neh/tcp2.cpp:1364–1369  ·  view source on GitHub ↗

called non thread-safe (from client thread)

Source from the content-addressed store, hash-verified

1362
1363 //called non thread-safe (from client thread)
1364 void SendResponse(TRequestId reqId, TData& data) {
1365 DBGOUT("SendResponse: " << reqId << " " << (size_t)~data << " c=" << (size_t)this);
1366 TAutoPtr<TOutputData> od(new TResponseData(reqId, data));
1367 OutputData_.Enqueue(od);
1368 ProcessOutputQueue();
1369 }
1370
1371 //called non thread-safe (from outside thread)
1372 void SendError(TRequestId reqId, TResponseHeader::TErrorCode err) {

Callers 2

SendReplyMethod · 0.45
SendReplyMethod · 0.45

Calls 1

EnqueueMethod · 0.45

Tested by

no test coverage detected