Changeset 285af80 in rtems


Ignore:
Timestamp:
May 31, 1996, 6:59:31 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b927fba
Parents:
9594cdb
Message:

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

Location:
c/src/exec/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/base/pthread.h

    r9594cdb r285af80  
    184184);
    185185
    186 #define PTHREAD_INHERIT_SCHED  1      /* scheduling policy and associated */
    187                                       /*   attributes are inherited from */
    188                                       /*   the calling thread. */
    189 #define PTHREAD_EXPLICIT_SCHED 2      /* set from provided attribute object */
    190 
    191186int pthread_attr_setinheritsched(
    192187  pthread_attr_t  *attr,
     
    248243 */
    249244 
    250 /*
    251  *  Values for protocol.
    252  */
    253 
    254 #define PTHREAD_PRIO_NONE    0
    255 #define PTHREAD_PRIO_INHERIT 1
    256 #define PTHREAD_PRIO_PROTECT 2
    257 
    258245int pthread_mutexattr_setprotocol(
    259246  pthread_mutexattr_t   *attr,
  • c/src/exec/posix/include/pthread.h

    r9594cdb r285af80  
    184184);
    185185
    186 #define PTHREAD_INHERIT_SCHED  1      /* scheduling policy and associated */
    187                                       /*   attributes are inherited from */
    188                                       /*   the calling thread. */
    189 #define PTHREAD_EXPLICIT_SCHED 2      /* set from provided attribute object */
    190 
    191186int pthread_attr_setinheritsched(
    192187  pthread_attr_t  *attr,
     
    248243 */
    249244 
    250 /*
    251  *  Values for protocol.
    252  */
    253 
    254 #define PTHREAD_PRIO_NONE    0
    255 #define PTHREAD_PRIO_INHERIT 1
    256 #define PTHREAD_PRIO_PROTECT 2
    257 
    258245int pthread_mutexattr_setprotocol(
    259246  pthread_mutexattr_t   *attr,
Note: See TracChangeset for help on using the changeset viewer.