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

Function test_some_wait

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

* Test doing min_wait for N events, where 0 events are already available * on wait enter but N/2 are posted within the min_wait window. We'll expect to * return when the min_wait window expires. */

Source from the content-addressed store, hash-verified

124 * return when the min_wait window expires.
125 */
126static int test_some_wait(struct io_uring *ring)
127{
128 return __test_writes(ring, 2, 1000, 100000, 95, 120, __FUNCTION__);
129}
130
131/*
132 * 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