diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-11-01 15:39:29 -0500 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-11-01 15:39:29 -0500 |
| commit | 9ff37ba139dceb722af3502816ed228c43fbecfd (patch) | |
| tree | 7bca7bf7a98858a9f4bad4b3d8f0d3febf50fe4c /include/kpl/io.h | |
| parent | 9a61168aec3373be702bdbf252043ce3605f2b5b (diff) | |
inc and dec priority with io uring submit
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 |
