3 ms·
> Who removes functionality that the kernel provides because in his opinion the kernel's design is wrong? The functionality is still available via pthread sche
by AnssiH 7y ago
> Who removes functionality that the kernel provides because in his opinion the kernel's design is wrong?
The functionality is still available via pthread sched functions as specified by POSIX, so I'd argue that functionality was not removed, just moved:
https://git.musl-libc.org/cgit/musl/commit/?id=1e21e78bf7a5 https://git.musl-libc.org/cgit/musl/commit/?id=1e21e78bf7a5
IMHO this makes sense for a libc that explicitly emphasizes POSIX-correctness. POSIX defines these functions, and it is against the spec to have process scheduling functions work as thread scheduling functions (which are a separate set of functions in POSIX).
edit: Just realized that this might prevent changing scheduling parameters of another process by PID, though.