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

Function prune

test/epwait.c:224–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224static void prune(struct epoll_event *evs, int nr)
225{
226 char tmp[32];
227 int i, ret;
228
229 for (i = 0; i < nr; i++) {
230 ret = read(evs[i].data.fd, tmp, sizeof(tmp));
231 if (ret < 0)
232 perror("read");
233 }
234}
235
236static int test_race(int flags)
237{

Callers 1

test_raceFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_raceFunction · 0.68