summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/unlimited/test2.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:19:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:19:43 +0000
commitf59df6b2baed58229781d8fcda2d5bd3ab753341 (patch)
tree95e9156dcb758293e0a447d94335749c17cbb9b2 /testsuites/samples/unlimited/test2.c
parentCorrected wildcard to pickup CPU model dependent library pieces. (diff)
downloadrtems-f59df6b2baed58229781d8fcda2d5bd3ab753341.tar.bz2
Modified to use minimum stack size and reserve the necessary amount
of space in the workspace.
Diffstat (limited to 'testsuites/samples/unlimited/test2.c')
-rw-r--r--testsuites/samples/unlimited/test2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/samples/unlimited/test2.c b/testsuites/samples/unlimited/test2.c
index d25f95da02..66c0f662d9 100644
--- a/testsuites/samples/unlimited/test2.c
+++ b/testsuites/samples/unlimited/test2.c
@@ -55,7 +55,7 @@ void test2()
result = rtems_task_create(name,
10,
- 4096,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_ATTRIBUTES,
RTEMS_LOCAL,
&task_id[task_count]);
@@ -64,6 +64,7 @@ void test2()
break;
printf("number = %3i, id = %08x, starting, ", task_count, task_id[task_count]);
+ fflush(stdout);
result = rtems_task_start(task_id[task_count],
test_task,
@@ -148,7 +149,7 @@ void test2()
result = rtems_task_create(name,
10,
- 4096,
+ RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_ATTRIBUTES,
RTEMS_LOCAL,
&task_id[id_slot]);