From e941ea131d495a8839a31d10545c9a1e87bf54af Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 29 May 1996 16:54:24 +0000 Subject: added entry point for posix initialization threads to the posix initialization threads table structure --- c/src/exec/posix/headers/config.h | 10 ++++++++-- c/src/exec/posix/include/rtems/posix/config.h | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'c') diff --git a/c/src/exec/posix/headers/config.h b/c/src/exec/posix/headers/config.h index 1c0305652b..dee2cd1c2a 100644 --- a/c/src/exec/posix/headers/config.h +++ b/c/src/exec/posix/headers/config.h @@ -32,8 +32,14 @@ extern "C" { * + required number of each object type */ -/* XXX fix me */ -typedef int posix_initialization_tasks_table; +/* + * For now, we are only allowing the user to specify the entry point + * for posix initialization threads. + */ + +typedef struct { + void *(*entry)(void *); +} posix_initialization_tasks_table; typedef struct { int maximum_threads; diff --git a/c/src/exec/posix/include/rtems/posix/config.h b/c/src/exec/posix/include/rtems/posix/config.h index 1c0305652b..dee2cd1c2a 100644 --- a/c/src/exec/posix/include/rtems/posix/config.h +++ b/c/src/exec/posix/include/rtems/posix/config.h @@ -32,8 +32,14 @@ extern "C" { * + required number of each object type */ -/* XXX fix me */ -typedef int posix_initialization_tasks_table; +/* + * For now, we are only allowing the user to specify the entry point + * for posix initialization threads. + */ + +typedef struct { + void *(*entry)(void *); +} posix_initialization_tasks_table; typedef struct { int maximum_threads; -- cgit v1.2.3