Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
static 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
50
static void eventfd_trigger(int fd)
51
{
Callers
1
test_eventfd
Function · 0.85
Calls
1
can_read
Function · 0.85
Tested by
1
test_eventfd
Function · 0.68