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

Function eventfd_clear

test/defer-taskrun.c:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static void eventfd_clear(int fd)
41{
42 uint64_t val;
43 int ret;
44
45 assert(can_read(fd));
46 ret = read(fd, &val, 8);
47 assert(ret == 8);
48}
49
50static void eventfd_trigger(int fd)
51{

Callers 1

test_eventfdFunction · 0.85

Calls 1

can_readFunction · 0.85

Tested by 1

test_eventfdFunction · 0.68