moved attribute related constants into the rtems specific sys/types.h

file in newlib.
This commit is contained in:
Joel Sherrill
1996-05-31 18:59:31 +00:00
parent 9594cdbd4e
commit 285af80408
2 changed files with 0 additions and 26 deletions
-13
View File
@@ -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
-13
View File
@@ -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