called non thread-safe (from client thread)
| 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) { |