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

Method SendReply

library/cpp/neh/tcp2.cpp:1586–1593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1584 }
1585
1586 void TServer::TRequest::SendReply(TData& data) {
1587 do {
1588 if (AtomicCas(&Replied_, 1, 0)) {
1589 Conn->SendResponse(RequestHeader().Id, data);
1590 return;
1591 }
1592 } while (AtomicGet(Replied_) == 0);
1593 }
1594
1595 class TProtocol: public IProtocol {
1596 public:

Callers 9

ServeRequestMethod · 0.45
ServeRequestMethod · 0.45
ServeRequestMethod · 0.45
TRequestServerMethod · 0.45
CreateServicesFunction · 0.45
Y_UNIT_TESTFunction · 0.45
DoExecuteMethod · 0.45
ServeRequestMethod · 0.45
DoFinishMethod · 0.45

Calls 3

AtomicCasFunction · 0.50
AtomicGetFunction · 0.50
SendResponseMethod · 0.45

Tested by

no test coverage detected