diff options
Diffstat (limited to 'c/src/tests/psxtests/psxsem01/system.h')
-rw-r--r-- | c/src/tests/psxtests/psxsem01/system.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/tests/psxtests/psxsem01/system.h b/c/src/tests/psxtests/psxsem01/system.h index cbc01496fe..11ad344f3a 100644 --- a/c/src/tests/psxtests/psxsem01/system.h +++ b/c/src/tests/psxtests/psxsem01/system.h @@ -20,6 +20,7 @@ #include <errno.h> #include <sched.h> #include <semaphore.h> +#include <tmacros.h> 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 <confdefs.h> /* 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 */ + |