Changeset 05195890 in rtems
- Timestamp:
- 05/22/96 22:31:51 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f4719d5a
- Parents:
- cbaa5563
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/base/limits.h
rcbaa5563 r05195890 12 12 */ 13 13 14 #include_next <limits.h> 15 14 16 #ifndef __POSIX_LIMITS_h 15 17 #define __POSIX_LIMITS_h 18 19 /* really only to get min stack size from <rtems/score/cpu.h> */ 20 #include <rtems/system.h> 16 21 17 22 /**************************************************************************** … … 114 119 */ 115 120 116 #define LOGIN_NAME_MAX 9 117 #define PTHREAD_DESTRUCTOR_ITERATIONS 4 121 #define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX 122 #define TTY_NAME_MAX _POSIX_TTY_NAME_MAX 123 #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS 124 #define PTHREAD_STACK_MIN CPU_STACK_MINIMUM_SIZE 125 118 126 /* 119 127 * The maximum number of keys (PTHREAD_KEYS_MAX) and threads 120 128 * (PTHREAD_THREADS_MAX) are configurable and may exceed the minimum. 121 */ 129 * 130 #define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX 131 #define PTHREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX 132 */ 122 133 123 #define TTY_NAME_MAX 9124 134 125 135 /**************************************************************************** -
c/src/exec/posix/base/pthread.h
rcbaa5563 r05195890 7 7 #define __PTHREAD_h 8 8 9 #include < rtems/posix/features.h>9 #include <sys/features.h> 10 10 11 11 #if defined(_POSIX_THREADS) … … 212 212 int pthread_attr_setschedparam( 213 213 pthread_attr_t *attr, 214 const struct sched_param 214 const struct sched_param *param 215 215 ); 216 216 … … 343 343 344 344 int pthread_create( 345 pthread_t *thread,346 const pthread_attr_t *attr,347 void (*start_routine)( void * ),348 void *arg345 pthread_t *thread, 346 const pthread_attr_t *attr, 347 void *(*start_routine)( void * ), 348 void *arg 349 349 ); 350 350 … … 367 367 368 368 /* 369 * 16.1.5.1 Thread Termination, p1003.1c/Draft 10, p. 150 370 */ 371 372 void pthread_exit( 373 void *value_ptr 374 ); 375 376 /* 369 377 * 16.1.6 Get Calling Thread's ID, p1003.1c/Draft 10, p. XXX 370 378 */ -
c/src/exec/posix/base/sched.h
rcbaa5563 r05195890 8 8 #define __POSIX_SCHEDULING_h 9 9 10 #include < rtems/posix/features.h>10 #include <sys/features.h> 11 11 12 12 #if defined(_POSIX_PRIORITY_SCHEDULING) -
c/src/exec/posix/include/limits.h
rcbaa5563 r05195890 12 12 */ 13 13 14 #include_next <limits.h> 15 14 16 #ifndef __POSIX_LIMITS_h 15 17 #define __POSIX_LIMITS_h 18 19 /* really only to get min stack size from <rtems/score/cpu.h> */ 20 #include <rtems/system.h> 16 21 17 22 /**************************************************************************** … … 114 119 */ 115 120 116 #define LOGIN_NAME_MAX 9 117 #define PTHREAD_DESTRUCTOR_ITERATIONS 4 121 #define LOGIN_NAME_MAX _POSIX_LOGIN_NAME_MAX 122 #define TTY_NAME_MAX _POSIX_TTY_NAME_MAX 123 #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS 124 #define PTHREAD_STACK_MIN CPU_STACK_MINIMUM_SIZE 125 118 126 /* 119 127 * The maximum number of keys (PTHREAD_KEYS_MAX) and threads 120 128 * (PTHREAD_THREADS_MAX) are configurable and may exceed the minimum. 121 */ 129 * 130 #define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX 131 #define PTHREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX 132 */ 122 133 123 #define TTY_NAME_MAX 9124 134 125 135 /**************************************************************************** -
c/src/exec/posix/include/pthread.h
rcbaa5563 r05195890 7 7 #define __PTHREAD_h 8 8 9 #include < rtems/posix/features.h>9 #include <sys/features.h> 10 10 11 11 #if defined(_POSIX_THREADS) … … 212 212 int pthread_attr_setschedparam( 213 213 pthread_attr_t *attr, 214 const struct sched_param 214 const struct sched_param *param 215 215 ); 216 216 … … 343 343 344 344 int pthread_create( 345 pthread_t *thread,346 const pthread_attr_t *attr,347 void (*start_routine)( void * ),348 void *arg345 pthread_t *thread, 346 const pthread_attr_t *attr, 347 void *(*start_routine)( void * ), 348 void *arg 349 349 ); 350 350 … … 367 367 368 368 /* 369 * 16.1.5.1 Thread Termination, p1003.1c/Draft 10, p. 150 370 */ 371 372 void pthread_exit( 373 void *value_ptr 374 ); 375 376 /* 369 377 * 16.1.6 Get Calling Thread's ID, p1003.1c/Draft 10, p. XXX 370 378 */ -
c/src/exec/posix/include/sched.h
rcbaa5563 r05195890 8 8 #define __POSIX_SCHEDULING_h 9 9 10 #include < rtems/posix/features.h>10 #include <sys/features.h> 11 11 12 12 #if defined(_POSIX_PRIORITY_SCHEDULING) -
cpukit/posix/include/sched.h
rcbaa5563 r05195890 8 8 #define __POSIX_SCHEDULING_h 9 9 10 #include < rtems/posix/features.h>10 #include <sys/features.h> 11 11 12 12 #if defined(_POSIX_PRIORITY_SCHEDULING)
Note: See TracChangeset
for help on using the changeset viewer.