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

Function test_late

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

* Test doing min_wait for N events, where 0 events are already available * on wait enter and one is posted after the min_wait timeout has expired. * That first event should cause wait to abort, even if the task has asked * for more to wait on. */

Source from the content-addressed store, hash-verified

145 * for more to wait on.
146 */
147static int test_late(struct io_uring *ring)
148{
149 return __test_writes(ring, 1, 100000, 10000, 95, 120, __FUNCTION__);
150}
151
152static int __test_nop(struct io_uring *ring, int nr_nops, int min_t, int max_t,
153 unsigned long long_wait, const char *name)

Callers 1

mainFunction · 0.85

Calls 1

__test_writesFunction · 0.85

Tested by

no test coverage detected