diff options
Diffstat (limited to 'async.c')
-rw-r--r-- | async.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -136,7 +136,13 @@ void aio_bh_update_timeout(AioContext *ctx, uint32_t *timeout) } } + AioContext *aio_context_new(void) { return g_new0(AioContext, 1); } + +void aio_flush(AioContext *ctx) +{ + while (aio_wait(ctx)); +} |