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

Function thread

test/defer-taskrun.c:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124};
125
126static void *thread(void *t)
127{
128 struct thread_data *td = t;
129
130 io_uring_enable_rings(&td->ring);
131 io_uring_prep_read(io_uring_get_sqe(&td->ring), td->efd, td->buff, sizeof(td->buff), 0);
132 io_uring_submit(&td->ring);
133
134 return NULL;
135}
136
137static int test_thread_shutdown(void)
138{

Callers

nothing calls this directly

Calls 3

io_uring_enable_ringsFunction · 0.85
io_uring_submitFunction · 0.85
io_uring_get_sqeFunction · 0.50

Tested by

no test coverage detected