Current wrapper marked as not tested, while it can not called from Python:
Param class (class.zig ) has no __new__ and _io_uring_params will not initialize.
- A pointer to huge page ( which needed to supply as
buf ) cannot created in python. A bytesarray does not satisfy this.
- No strategy to free this buffer in
io_uring_queue_exit or Ring.__del__.
What to do?
I think we can add a param to Ring which holds pointer to buffer. and initialize buffer in io_uring_queue_init_mem wrapper.
Current wrapper marked as not tested, while it can not called from Python:
Paramclass (class.zig) has no__new__and_io_uring_paramswill not initialize.buf) cannot created in python. Abytesarraydoes not satisfy this.io_uring_queue_exitorRing.__del__.What to do?
I think we can add a param to
Ringwhich holds pointer to buffer. and initialize buffer inio_uring_queue_init_memwrapper.