From 34d934a8f08edad633a6421b38789c5e886ccc23 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 May 2004 16:04:47 +0000 Subject: 2004-05-21 Joel Sherrill PR 627/doc * user/task.t: Behavior documented for an rtems_task_create with stacksize < minimum was not the implemented behavior. --- doc/user/task.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/user/task.t') 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 -- cgit v1.2.3