Add io_context argument to the callback

This commit is contained in:
2024-04-13 00:33:36 +02:00
parent 9dd8341dbc
commit e46c5a1042
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1017,7 +1017,7 @@ void io_wait(struct io_context *ioc,
if (res->callback == NULL)
break;
res->callback(*ev);
res->callback(ioc, *ev);
}
}