_POSIX_PRIORITIZED_IO

This option does not add any interfaces of its own; it makes the _POSIX_ASYNCHRONOUS_IO interfaces process ready requests in priority order rather than submission order - highest priority first, first-in-first-out among equal priorities - where a request’s priority is the calling thread’s scheduling priority lowered by the control block’s aio_reqprio (0 through AIO_PRIO_DELTA_MAX, one Zephyr priority level per unit). Prioritization applies to every descriptor served by the request pool; see the asynchronous I/O page for the implementation-defined behaviour.

Enable this option with CONFIG_POSIX_PRIORITIZED_IO (enabled by default with CONFIG_POSIX_ASYNCHRONOUS_IO; selects CONFIG_SYS_AIO_PRIORITY).