mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 12:34:22 +01:00
Adds a struct WrappedIOUring which contains a IoUring and a pending_ops field. Entry submission and popping from the queue is done through functions operating on it, which also maintains pending_ops count NOTE: This is a bit weird/hacky since in get_completion we create a CompletionQueue and just call its next(). If it were a normal iterator it would always return the same first item. However it is a queue posing as an iterator which makes this work.