diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:19:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:19:43 +0000 |
commit | f59df6b2baed58229781d8fcda2d5bd3ab753341 (patch) | |
tree | 95e9156dcb758293e0a447d94335749c17cbb9b2 /c/src/tests/samples/unlimited/test1.c | |
parent | Corrected wildcard to pickup CPU model dependent library pieces. (diff) | |
download | rtems-f59df6b2baed58229781d8fcda2d5bd3ab753341.tar.bz2 |
Modified to use minimum stack size and reserve the necessary amount
of space in the workspace.
Diffstat (limited to 'c/src/tests/samples/unlimited/test1.c')
-rw-r--r-- | c/src/tests/samples/unlimited/test1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/tests/samples/unlimited/test1.c b/c/src/tests/samples/unlimited/test1.c index 2f415492d9..2d70cc4e82 100644 --- a/c/src/tests/samples/unlimited/test1.c +++ b/c/src/tests/samples/unlimited/test1.c @@ -53,7 +53,7 @@ void test1() result = rtems_task_create(name, 10, - 4096, + RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_ATTRIBUTES, RTEMS_LOCAL, &task_id[task_count]); @@ -63,6 +63,7 @@ void test1() printf("number = %3i, id = %08x, starting, ", task_count, task_id[task_count]); + fflush(stdout); result = rtems_task_start(task_id[task_count], test_task, (rtems_task_argument) task_count); |