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

Function handle_stop

examples/proxy.c:1887–1894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1885}
1886
1887static int handle_stop(struct io_uring_cqe *cqe)
1888{
1889 struct conn *c = cqe_to_conn(cqe);
1890
1891 printf("Client %d: queueing shutdown\n", c->tid);
1892 queue_cancel(&c->ring, c);
1893 return 0;
1894}
1895
1896/*
1897 * Called for each CQE that we receive. Decode the request type that it

Callers 1

handle_cqeFunction · 0.85

Calls 2

cqe_to_connFunction · 0.85
queue_cancelFunction · 0.85

Tested by

no test coverage detected