| 323 | RPC_ATTRS uint32_t get_index() const { return index; } |
| 324 | |
| 325 | RPC_ATTRS void close() { |
| 326 | // Wait for all lanes to finish using the port. |
| 327 | rpc::sync_lane(lane_mask); |
| 328 | |
| 329 | // The server is passive, if it own the buffer when it closes we need to |
| 330 | // give ownership back to the client. |
| 331 | if (owns_buffer && T) |
| 332 | out = process.invert_outbox(index, out); |
| 333 | process.unlock(lane_mask, index); |
| 334 | } |
| 335 | |
| 336 | private: |
| 337 | Process<T> &process; |
nothing calls this directly
no test coverage detected