1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#include <stddef.h>
#include <unistd.h>
#include <errno.h>
#include "pthread.h"
#include "internals.h"
#include <bits/posix_opt.h>
#ifndef _POSIX_THREAD_PRIO_PROTECT
int
__pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr,
int *priority)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutexattr_getprotocol,pthread_mutexattr_getprotocol)
int
__pthread_mutexattr_setprotocol (pthread_mutexattr_t *attr,
int priority)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutexattr_setprotocol,pthread_mutexattr_setprotocol)
int
__pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *attr,
int *prioceiling)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutexattr_getprioceiling,pthread_mutexattr_getprioceiling)
int
__pthread_mutexattr_setprioceiling (pthread_mutexattr_t *attr,
int prioceiling)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutexattr_setprioceiling,pthread_mutexattr_setprioceiling)
#endif /* !_POSIX_THREAD_PRIO_PROTECT */
#if !defined(_POSIX_THREAD_PRIO_PROTECT) && !defined(_POSIX_THREAD_PRIO_INHERIT)
int
__pthread_mutex_getprioceiling (const pthread_mutex_t *mutex,
int *prioceiling)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutex_getprioceiling,pthread_mutex_getprioceiling)
int
__pthread_mutex_setprioceiling (pthread_mutex_t *mutex,
int prioceiling, int *oldceiling)
{
errno = ENOSYS;
return ENOSYS;
}
weak_alias(__pthread_mutex_setprioceiling,pthread_mutex_setprioceiling)
#endif /* !_POSIX_THREAD_PRIO_PROTECT && !_POSIX_THREAD_PRIO_INHERIT) */
|