diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-28 19:28:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-28 19:28:32 +0000 |
commit | 5a18e047aca9569bef0978a515c23f64ff597b57 (patch) | |
tree | 4d081939e89ea1382d0a239f6439e4413bf2187d /c/src/exec/posix/headers | |
parent | This commit was generated by cvs2svn to compensate for changes in r311, (diff) | |
download | rtems-5a18e047aca9569bef0978a515c23f64ff597b57.tar.bz2 |
added initial set of api extension callouts
Diffstat (limited to 'c/src/exec/posix/headers')
-rw-r--r-- | c/src/exec/posix/headers/pthread.h | 16 | ||||
-rw-r--r-- | c/src/exec/posix/headers/threadsup.h | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/c/src/exec/posix/headers/pthread.h b/c/src/exec/posix/headers/pthread.h index 538e737268..1ec9d9f193 100644 --- a/c/src/exec/posix/headers/pthread.h +++ b/c/src/exec/posix/headers/pthread.h @@ -21,6 +21,9 @@ extern "C" { #endif +#include <rtems/posix/config.h> +#include <rtems/posix/threadsup.h> + /* * Data Structure used to manage a POSIX thread */ @@ -33,6 +36,15 @@ typedef Thread_Control POSIX_Threads_Control; */ EXTERN Objects_Information _POSIX_Threads_Information; + +/* + * These are used to manage the user initialization tasks. + */ + +EXTERN posix_initialization_tasks_table + *_POSIX_Threads_User_initialization_tasks; +EXTERN unsigned32 _POSIX_Threads_Number_of_initialization_tasks; + /* * _POSIX_Threads_Manager_initialization @@ -43,7 +55,9 @@ EXTERN Objects_Information _POSIX_Threads_Information; */ void _POSIX_Threads_Manager_initialization( - unsigned32 maximum_pthreads + unsigned32 maximum_pthreads, + unsigned32 number_of_initialization_tasks, + posix_initialization_tasks_table *user_tasks ); /* diff --git a/c/src/exec/posix/headers/threadsup.h b/c/src/exec/posix/headers/threadsup.h index e0cf294494..e614df12ef 100644 --- a/c/src/exec/posix/headers/threadsup.h +++ b/c/src/exec/posix/headers/threadsup.h @@ -25,7 +25,7 @@ typedef struct { int cancelation_requested; Chain_Control Cancellation_Handlers; -} POSIX_API_Thread_Support_Control; +} POSIX_API_Control; #endif /* end of include file */ |