From 285af80408b4a0173a252dcc9fe7b459b5e6d241 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 31 May 1996 18:59:31 +0000 Subject: moved attribute related constants into the rtems specific sys/types.h file in newlib. --- c/src/exec/posix/base/pthread.h | 13 ------------- c/src/exec/posix/include/pthread.h | 13 ------------- 2 files changed, 26 deletions(-) (limited to 'c/src') 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 -- cgit v1.2.3