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

Function eventfd_trigger

test/defer-taskrun.c:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void eventfd_trigger(int fd)
51{
52 uint64_t val = 1;
53 int ret;
54
55 ret = write(fd, &val, sizeof(val));
56 assert(ret == sizeof(val));
57}
58
59#define CHECK(x) \
60do { \

Callers 2

test_eventfdFunction · 0.85
test_flagFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_eventfdFunction · 0.68
test_flagFunction · 0.68