Changeset 05195890 in rtems for c/src/exec/posix/base/pthread.h


Ignore:
Timestamp:
May 22, 1996, 10:31:51 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f4719d5a
Parents:
cbaa5563
Message:

These files have been modified in the initial pass at getting the portion
of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.

The removed files were moved to newlib as they were duplicates of files
already included there.

File:
1 edited

Legend:

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

    rcbaa5563 r05195890  
    77#define __PTHREAD_h
    88
    9 #include <rtems/posix/features.h>
     9#include <sys/features.h>
    1010
    1111#if defined(_POSIX_THREADS)
     
    212212int pthread_attr_setschedparam(
    213213  pthread_attr_t            *attr,
    214   const struct sched_param   param
     214  const struct sched_param  *param
    215215);
    216216
     
    343343
    344344int pthread_create(
    345   pthread_t             *thread,
    346   const pthread_attr_t  *attr,
    347   void                 (*start_routine)( void * ),
    348   void                  *arg
     345  pthread_t              *thread,
     346  const pthread_attr_t   *attr,
     347  void                 *(*start_routine)( void * ),
     348  void                   *arg
    349349);
    350350
     
    367367
    368368/*
     369 * 16.1.5.1 Thread Termination, p1003.1c/Draft 10, p. 150
     370 */
     371
     372void pthread_exit(
     373  void  *value_ptr
     374);
     375
     376/*
    369377 * 16.1.6 Get Calling Thread's ID, p1003.1c/Draft 10, p. XXX
    370378 */
Note: See TracChangeset for help on using the changeset viewer.