diff options
-rw-r--r-- | test/cq-full.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cq-full.c b/test/cq-full.c index 25fa42c..574e03d 100644 --- a/test/cq-full.c +++ b/test/cq-full.c @@ -64,6 +64,8 @@ int main(int argc, char *argv[]) do { ret = io_uring_peek_cqe(&ring, &cqe); if (ret < 0) { + if (ret == -EAGAIN) + break; printf("wait completion %d\n", ret); goto err; } |