-
Max Kellermann authored
There is a POSIX definition for sched_setscheduler(), but Linux does not implement that; instead of changing the process's scheduler, it only affects one thread. This has caused some confusion among application developers and C library developers. While glibc implements Linux semantics, Musl has made their sched_setscheduler() function an always-failing no-op, causing the error message "sched_setscheduler failed: Function not implemented". http://git.musl-libc.org/cgit/musl/commit/src/sched/sched_setscheduler.c?id=1e21e78bf7a5c24c217446d8760be7b7188711c2 Instead of relying on the C library which may be unreliable here, we now roll our own system call wrapper. Closes #218
81765650
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Cond.hxx | ||
CriticalSection.hxx | ||
Id.hxx | ||
Mutex.hxx | ||
Name.hxx | ||
PosixCond.hxx | ||
PosixMutex.hxx | ||
Slack.hxx | ||
Thread.cxx | ||
Thread.hxx | ||
Util.cxx | ||
Util.hxx | ||
WindowsCond.hxx |