diff options
Diffstat (limited to 'include/kpl/io.h')
| -rw-r--r-- | include/kpl/io.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/kpl/io.h b/include/kpl/io.h index 3838a55..30503ad 100644 --- a/include/kpl/io.h +++ b/include/kpl/io.h @@ -48,14 +48,16 @@ inline void kpl_io_uring_free(kpl_io_uring *io_uring) { * This will wait if io uring enter is called * NULL for none completed * If an error occurred, the error details will be on the kpl_task_object + * *thread is needed to decrease priority */ -kpl_object_task *kpl_io_uring_get_completed(kpl_io_uring *io_uring); +kpl_object_task *kpl_io_uring_get_completed(kpl_thread *thread); /* * Submits all sqes (added_to_queue has total) in one io uring eneter * This does not wait + * *thread is need to increase priority by the number of operations submitted */ -int32_t kpl_io_uring_submit(kpl_io_uring *io_uring); +int32_t kpl_io_uring_submit(kpl_thread *thread); /* * Only call this though one of the functions below to add an operation to the queue |
