Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start-stop-daemon: fix setting scheduler with musl
Linux does not provide a way to set scheduling parameters for a process, only for threads, so musl sched_setscheduler() is only a stub and the glibc implementation does "the wrong thing". Use pthread_setschedparam instead for Linux. ref: https://www.openwall.com/lists/musl/2016/03/01/5 fixes: #689
- Loading branch information