mirror of
https://github.com/fluencelabs/musl
synced 2025-05-29 07:31:53 +00:00
priority inheritance is not yet supported, and priority protection probably will not be supported ever unless there's serious demand for it (it's a fairly heavy-weight feature). per-thread cpu clocks would be nice to have, but to my knowledge linux is still not capable of supporting them. glibc fakes them by using the _process_ cpu-time clock and subtracting the thread creation time, which gives seriously incorrect semantics (worse than not supporting the feature at all), so until there's a way to do it right, it will remain as a stub that always fails.
7 lines
141 B
C
7 lines
141 B
C
#include "pthread_impl.h"
|
|
|
|
int pthread_mutex_setprioceiling(pthread_mutex_t *restrict m, int ceiling, int *restrict old)
|
|
{
|
|
return EINVAL;
|
|
}
|