Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-06-30 07:02:41 +00:00
Code Issues Projects Releases Wiki Activity
Files
4073f03add269be8be9f84d374fe69920b78d53d
musl/src/thread/pthread_mutex_getprioceiling.c

7 lines
138 B
C
Raw Normal View History

add stub versions of some missing optional pthread interfaces 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.
2012-11-17 18:42:16 -05:00
#include "pthread_impl.h"
int pthread_mutex_getprioceiling(const pthread_mutex_t *restrict m, int *restrict ceiling)
{
return EINVAL;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 360ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API