MCPcopy Create free account
hub / github.com/axboe/liburing / submit_bidi_receive

Function submit_bidi_receive

examples/proxy.c:747–751  ·  view source on GitHub ↗

* Bi-directional arms receive on both in and out fd */

Source from the content-addressed store, hash-verified

745 * Bi-directional arms receive on both in and out fd
746 */
747static void submit_bidi_receive(struct io_uring *ring, struct conn *c)
748{
749 __submit_receive(ring, c, &c->cd[0], c->in_fd);
750 __submit_receive(ring, c, &c->cd[1], c->out_fd);
751}
752
753/*
754 * We hit -ENOBUFS, which means that we ran out of buffers in our current

Callers 1

handle_connectFunction · 0.85

Calls 1

__submit_receiveFunction · 0.85

Tested by

no test coverage detected