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

Function test_post_wait

test/min-timeout-wait.c:136–139  ·  view source on GitHub ↗

* Test doing min_wait for N events, where 0 events are already available * on wait enter but N are posted within the min_wait window. We'll expect to * return upon arrival of the N events, not the full min_wait window. */

Source from the content-addressed store, hash-verified

134 * return upon arrival of the N events, not the full min_wait window.
135 */
136static int test_post_wait(struct io_uring *ring)
137{
138 return __test_writes(ring, 4, 10000, 200000, 9, 12, __FUNCTION__);
139}
140
141/*
142 * Test doing min_wait for N events, where 0 events are already available

Callers 1

mainFunction · 0.85

Calls 1

__test_writesFunction · 0.85

Tested by

no test coverage detected