summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psx01/system.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 14:32:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 14:32:21 +0000
commit15974b65ea61303110208353e15375a5d78d9121 (patch)
treebac54f8a88d9efdb0f7f1dcf6720a6409a2cec45 /c/src/tests/psxtests/psx01/system.h
parentadded thread queue for list of threads waiting to join. (diff)
downloadrtems-15974b65ea61303110208353e15375a5d78d9121.tar.bz2
added basic test cases for pthread_self and pthread_equal
Diffstat (limited to 'c/src/tests/psxtests/psx01/system.h')
-rw-r--r--c/src/tests/psxtests/psx01/system.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psx01/system.h b/c/src/tests/psxtests/psx01/system.h
index 409bff4450..3b776a082d 100644
--- a/c/src/tests/psxtests/psx01/system.h
+++ b/c/src/tests/psxtests/psx01/system.h
@@ -43,4 +43,13 @@ void *Task_1_through_3(
/* 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 */