diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-18 19:51:13 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-18 19:51:13 +0000 |
commit | 8c5cc6b2504cb2b750e9acf8c1ba9b38302800ce (patch) | |
tree | 7adf999951663535c2b54f152e4f66a2cfdb3ca7 /testsuites/psxtests/psxsem01/system.h | |
parent | Started to added POSIX message queue test code. (diff) | |
download | rtems-8c5cc6b2504cb2b750e9acf8c1ba9b38302800ce.tar.bz2 |
Added test code for named semaphores and moved to use of directive_failed
family of macros to produce better checks and diagnostic messages.
Diffstat (limited to 'testsuites/psxtests/psxsem01/system.h')
-rw-r--r-- | testsuites/psxtests/psxsem01/system.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 <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 */ + |