OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [linuxthreads/] [prio.c] - Blame information for rev 207

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.