Uring.registerIOWQAffinity

By default, async workers created by io_uring will inherit the CPU mask of its parent. This is usually all the CPUs in the system, unless the parent is being run with a limited set. If this isn't the desired outcome, the application may explicitly tell io_uring what CPUs the async workers may run on.

Note: Available since 5.14.

struct Uring
nothrow @nogc @trusted
int
registerIOWQAffinity
(
cpu_set_t[] cpus
)

Meta