From 8c5cc6b2504cb2b750e9acf8c1ba9b38302800ce Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 18 Nov 1999 19:51:13 +0000 Subject: Added test code for named semaphores and moved to use of directive_failed family of macros to produce better checks and diagnostic messages. --- testsuites/psxtests/psxsem01/system.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'testsuites/psxtests/psxsem01/system.h') diff --git a/testsuites/psxtests/psxsem01/system.h b/testsuites/psxtests/psxsem01/system.h index cbc01496fe..11ad344f3a 100644 --- a/testsuites/psxtests/psxsem01/system.h +++ b/testsuites/psxtests/psxsem01/system.h @@ -20,6 +20,7 @@ #include #include #include +#include void *POSIX_Init( void *argument @@ -41,17 +42,16 @@ void *Task_1_through_3( #define CONFIGURE_MAXIMUM_POSIX_THREADS 2 #define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 10 +#define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \ + (RTEMS_MINIMUM_STACK_SIZE * 4) + #include /* global variables */ -#ifdef CONFIGURE_INIT -#define TEST_EXTERN -#else -#define TEST_EXTERN extern -#endif - TEST_EXTERN pthread_t Init_id; TEST_EXTERN pthread_t Task_id; /* end of include file */ + -- cgit v1.2.3