| 130 | ++PostRecvDeficit; |
| 131 | } |
| 132 | void PostRecv() { |
| 133 | for (int i = 0; i < PostRecvDeficit; ++i) { |
| 134 | int id = AllocBuf(); |
| 135 | TSingleBlock& blk = Blocks[id >> BLOCK_SIZE_LN]; |
| 136 | char* buf = blk.GetBufData(id); |
| 137 | SRQ->PostReceive(blk.Mem, id, buf, SMALL_PKT_SIZE); |
| 138 | } |
| 139 | PostRecvDeficit = 0; |
| 140 | } |
| 141 | }; |
| 142 | |
| 143 | class TIBRecvPacketProcess: public TNonCopyable { |
no test coverage detected