summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 18:59:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-31 18:59:31 +0000
commit285af80408b4a0173a252dcc9fe7b459b5e6d241 (patch)
treef67510e62fac93589e9009d3a28a713b8d3e56a0 /c/src
parentadded code to test clock and time related functionality. (diff)
downloadrtems-285af80408b4a0173a252dcc9fe7b459b5e6d241.tar.bz2
moved attribute related constants into the rtems specific sys/types.h
file in newlib.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/exec/posix/base/pthread.h13
-rw-r--r--c/src/exec/posix/include/pthread.h13
2 files changed, 0 insertions, 26 deletions
diff --git a/c/src/exec/posix/base/pthread.h b/c/src/exec/posix/base/pthread.h
index 6111c54f35..d70a794f38 100644
--- a/c/src/exec/posix/base/pthread.h
+++ b/c/src/exec/posix/base/pthread.h
@@ -183,11 +183,6 @@ int pthread_attr_getscope(
int *contentionscope
);
-#define PTHREAD_INHERIT_SCHED 1 /* scheduling policy and associated */
- /* attributes are inherited from */
- /* the calling thread. */
-#define PTHREAD_EXPLICIT_SCHED 2 /* set from provided attribute object */
-
int pthread_attr_setinheritsched(
pthread_attr_t *attr,
int inheritsched
@@ -247,14 +242,6 @@ int pthread_setschedparam(
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
*/
-/*
- * Values for protocol.
- */
-
-#define PTHREAD_PRIO_NONE 0
-#define PTHREAD_PRIO_INHERIT 1
-#define PTHREAD_PRIO_PROTECT 2
-
int pthread_mutexattr_setprotocol(
pthread_mutexattr_t *attr,
int protocol
diff --git a/c/src/exec/posix/include/pthread.h b/c/src/exec/posix/include/pthread.h
index 6111c54f35..d70a794f38 100644
--- a/c/src/exec/posix/include/pthread.h
+++ b/c/src/exec/posix/include/pthread.h
@@ -183,11 +183,6 @@ int pthread_attr_getscope(
int *contentionscope
);
-#define PTHREAD_INHERIT_SCHED 1 /* scheduling policy and associated */
- /* attributes are inherited from */
- /* the calling thread. */
-#define PTHREAD_EXPLICIT_SCHED 2 /* set from provided attribute object */
-
int pthread_attr_setinheritsched(
pthread_attr_t *attr,
int inheritsched
@@ -247,14 +242,6 @@ int pthread_setschedparam(
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
*/
-/*
- * Values for protocol.
- */
-
-#define PTHREAD_PRIO_NONE 0
-#define PTHREAD_PRIO_INHERIT 1
-#define PTHREAD_PRIO_PROTECT 2
-
int pthread_mutexattr_setprotocol(
pthread_mutexattr_t *attr,
int protocol