rustix icon indicating copy to clipboard operation
rustix copied to clipboard

Feature request: support for `sched_setscheduler`

Open eglimi opened this issue 4 months ago • 2 comments

There is currently no support for getting or setting the scheduling policies with sched_getscheduler and sched_setscheduler respectively. I use this on Linux with PREEMPT_RT to set realtime priorities and FIFO scheduling, currently with libc.

Other related parts are also not in rustix, e.g. to set the stack size (pthread).

Would you consider this in scope of rustix?

eglimi avatar Oct 15 '24 15:10 eglimi