summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 16:04:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-05-21 16:04:47 +0000
commit34d934a8f08edad633a6421b38789c5e886ccc23 (patch)
tree71e74a0f9c4934c7b7d72871d8dc513417ae22f0 /doc/user
parent2004-05-21 Till Strauman <strauman@slac.stanford.edu> (diff)
downloadrtems-34d934a8f08edad633a6421b38789c5e886ccc23.tar.bz2
2004-05-21 Joel Sherrill <joel@OARcorp.com>
PR 627/doc * user/task.t: Behavior documented for an rtems_task_create with stacksize < minimum was not the implemented behavior.
Diffstat (limited to '')
-rw-r--r--doc/user/task.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/task.t b/doc/user/task.t
index 78a4970de7..bd3e296828 100644
--- a/doc/user/task.t
+++ b/doc/user/task.t
@@ -714,7 +714,6 @@ procedure Task_Create (
@code{@value{RPREFIX}SUCCESSFUL} - task created successfully@*
@code{@value{RPREFIX}INVALID_ADDRESS} - @code{id} is NULL@*
@code{@value{RPREFIX}INVALID_NAME} - invalid task name@*
-@code{@value{RPREFIX}INVALID_SIZE} - stack too small@*
@code{@value{RPREFIX}INVALID_PRIORITY} - invalid task priority@*
@code{@value{RPREFIX}MP_NOT_CONFIGURED} - multiprocessing not configured@*
@code{@value{RPREFIX}TOO_MANY} - too many tasks created@*
@@ -743,9 +742,10 @@ This directive will not cause the calling task to be preempted.
Valid task priorities range from a high of 1 to a low of 255.
-The requested stack size should be at least
-@code{@value{RPREFIX}MINIMUM_STACK_SIZE}
-bytes. The value of @code{@value{RPREFIX}MINIMUM_STACK_SIZE}
+If the requested stack size is less than
+@code{@value{RPREFIX}MINIMUM_STACK_SIZE} bytes, then RTEMS
+will use @code{@value{RPREFIX}MINIMUM_STACK_SIZE} as the
+stack size. The value of @code{@value{RPREFIX}MINIMUM_STACK_SIZE}
is processor dependent.
Application developers should consider the stack usage of the
device drivers when calculating the stack size required for