Skip to content

utils: Fix gaining realtime scheduling with musl

Vlad Zahorodnii requested to merge work/zzag/musl-realtime-thread into master

sched_setscheduler() is implemented as a stub in musl that does nothing because Linux provides no way to set scheduling parameters per process.

Use pthread_setschedparam() to change the scheduling parameters of the threads instead.

BUG: 487996

Edited by Vlad Zahorodnii

Merge request reports

Loading