summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxsem01/system.h
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1999-11-18 19:51:13 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1999-11-18 19:51:13 +0000
commit8c5cc6b2504cb2b750e9acf8c1ba9b38302800ce (patch)
tree7adf999951663535c2b54f152e4f66a2cfdb3ca7 /c/src/tests/psxtests/psxsem01/system.h
parentStarted to added POSIX message queue test code. (diff)
downloadrtems-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 '')
-rw-r--r--c/src/tests/psxtests/psxsem01/system.h12
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 */
+