summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-09 18:48:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-09 18:48:33 +0000
commitc7dd091f657f31669ce6f5e37e1b53288b4944f9 (patch)
tree7fe1fe381262d3ed82afa38efe6255d0173c4a23 /c
parentadded test case for sched_yield. (diff)
downloadrtems-c7dd091f657f31669ce6f5e37e1b53288b4944f9.tar.bz2
lowered maximum number of threads to 2 to make test case easier.
include sched.h so test can invoke scheduler routines.
Diffstat (limited to 'c')
-rw-r--r--c/src/tests/psxtests/psx01/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psx01/system.h b/c/src/tests/psxtests/psx01/system.h
index a0e2220827..35fef73269 100644
--- a/c/src/tests/psxtests/psx01/system.h
+++ b/c/src/tests/psxtests/psx01/system.h
@@ -19,6 +19,7 @@
#include <pmacros.h>
#include <unistd.h>
#include <errno.h>
+#include <sched.h>
void *POSIX_Init(
void *argument
@@ -37,6 +38,8 @@ void *Task_1_through_3(
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+
#include <confdefs.h>
/* global variables */