Changeset 4427a64 in rtems


Ignore:
Timestamp:
06/03/96 21:06:12 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e811d68
Parents:
fa4fdd7d
Message:

deleted POSIX threads typedef masking Thread_Control

Files:
6 edited

Legend:

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

    rfa4fdd7d r4427a64  
    2525#include <rtems/posix/threadsup.h>
    2626
    27 /*
    28  *  Data Structure used to manage a POSIX thread
    29  */
    30 
    31 typedef Thread_Control POSIX_Threads_Control;
    32  
    3327/*
    3428 *  The following defines the information control block used to manage
     
    7064 */
    7165 
    72 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Allocate( void );
     66STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
    7367 
    7468/*
     
    8276 
    8377STATIC INLINE void _POSIX_Threads_Free(
    84   POSIX_Threads_Control *the_pthread
     78  Thread_Control *the_pthread
    8579);
    8680 
     
    9993 */
    10094 
    101 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Get(
    102   Objects_Id        *id,
     95STATIC INLINE Thread_Control *_POSIX_Threads_Get(
     96  pthread_t          id,
    10397  Objects_Locations *location
    10498);
     
    113107 
    114108STATIC INLINE boolean _POSIX_Threads_Is_null(
    115   POSIX_Threads_Control *the_pthread
     109  Thread_Control *the_pthread
    116110);
    117111
  • c/src/exec/posix/headers/threadsup.h

    rfa4fdd7d r4427a64  
    1111typedef struct {
    1212  pthread_attr_t          Attributes;
     13  int                     detachstate;
    1314#if 0
    1415  /*
  • c/src/exec/posix/include/rtems/posix/pthread.h

    rfa4fdd7d r4427a64  
    2525#include <rtems/posix/threadsup.h>
    2626
    27 /*
    28  *  Data Structure used to manage a POSIX thread
    29  */
    30 
    31 typedef Thread_Control POSIX_Threads_Control;
    32  
    3327/*
    3428 *  The following defines the information control block used to manage
     
    7064 */
    7165 
    72 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Allocate( void );
     66STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
    7367 
    7468/*
     
    8276 
    8377STATIC INLINE void _POSIX_Threads_Free(
    84   POSIX_Threads_Control *the_pthread
     78  Thread_Control *the_pthread
    8579);
    8680 
     
    9993 */
    10094 
    101 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Get(
    102   Objects_Id        *id,
     95STATIC INLINE Thread_Control *_POSIX_Threads_Get(
     96  pthread_t          id,
    10397  Objects_Locations *location
    10498);
     
    113107 
    114108STATIC INLINE boolean _POSIX_Threads_Is_null(
    115   POSIX_Threads_Control *the_pthread
     109  Thread_Control *the_pthread
    116110);
    117111
  • c/src/exec/posix/include/rtems/posix/threadsup.h

    rfa4fdd7d r4427a64  
    1111typedef struct {
    1212  pthread_attr_t          Attributes;
     13  int                     detachstate;
    1314#if 0
    1415  /*
  • cpukit/posix/include/rtems/posix/pthread.h

    rfa4fdd7d r4427a64  
    2525#include <rtems/posix/threadsup.h>
    2626
    27 /*
    28  *  Data Structure used to manage a POSIX thread
    29  */
    30 
    31 typedef Thread_Control POSIX_Threads_Control;
    32  
    3327/*
    3428 *  The following defines the information control block used to manage
     
    7064 */
    7165 
    72 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Allocate( void );
     66STATIC INLINE Thread_Control *_POSIX_Threads_Allocate( void );
    7367 
    7468/*
     
    8276 
    8377STATIC INLINE void _POSIX_Threads_Free(
    84   POSIX_Threads_Control *the_pthread
     78  Thread_Control *the_pthread
    8579);
    8680 
     
    9993 */
    10094 
    101 STATIC INLINE POSIX_Threads_Control *_POSIX_Threads_Get(
    102   Objects_Id        *id,
     95STATIC INLINE Thread_Control *_POSIX_Threads_Get(
     96  pthread_t          id,
    10397  Objects_Locations *location
    10498);
     
    113107 
    114108STATIC INLINE boolean _POSIX_Threads_Is_null(
    115   POSIX_Threads_Control *the_pthread
     109  Thread_Control *the_pthread
    116110);
    117111
  • cpukit/posix/include/rtems/posix/threadsup.h

    rfa4fdd7d r4427a64  
    1111typedef struct {
    1212  pthread_attr_t          Attributes;
     13  int                     detachstate;
    1314#if 0
    1415  /*
Note: See TracChangeset for help on using the changeset viewer.