liburing icon indicating copy to clipboard operation
liburing copied to clipboard

Feature request: mark functions `noexcept` in C++

Open rohanlean opened this issue 3 months ago • 2 comments

Hi,

first of all, many thanks for creating io_uring!

Because you seem to be using raw syscalls everywhere instead of POSIX wrappers that could be cancellation points, the functions in liburing thankfully do not throw and probably never will. Yet they are not marked noexcept, which inhibits optimisations.

I propose that all functions be marked noexcept.

rohanlean avatar Apr 04 '24 15:04 rohanlean