From 5a18e047aca9569bef0978a515c23f64ff597b57 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 28 May 1996 19:28:32 +0000 Subject: added initial set of api extension callouts --- c/src/exec/posix/headers/pthread.h | 16 +++++++++++++++- c/src/exec/posix/headers/threadsup.h | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'c/src/exec/posix/headers') 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 +#include + /* * 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 */ -- cgit v1.2.3