diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-08-04 20:05:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-08-04 20:05:48 +0000 |
commit | 1ca951cebfe261c60f694173607a8346813fa6ec (patch) | |
tree | 931845637370bb494ea0ac5a0b7f0bde26010312 /doc/user/task.t | |
parent | Fixed node links. (diff) | |
download | rtems-1ca951cebfe261c60f694173607a8346813fa6ec.tar.bz2 |
Added information based on comments from Katsu Shibuya.
Diffstat (limited to '')
-rw-r--r-- | doc/user/task.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/user/task.t b/doc/user/task.t index 33add0256b..6764f08cec 100644 --- a/doc/user/task.t +++ b/doc/user/task.t @@ -560,6 +560,9 @@ compete for the processor and resources. If the task was blocked as well as suspended, this directive clears the suspension and leaves the task in the blocked state. +Suspending a task which is already suspended or resuming a +task which is not suspended is considered an error. + @ifinfo @node Delaying the Currently Executing Task, Changing Task Priority, Suspending and Resuming Tasks, Task Manager Operations @end ifinfo @@ -1062,6 +1065,9 @@ Suspending a global task which does not reside on the local node will generate a request to the remote node to suspend the specified task. +If the task specified by id is already suspended, then the +ALREADY_SUSPENDED status code is returned. + @page @ifinfo @@ -1107,6 +1113,9 @@ Resuming a global task which does not reside on the local node will generate a request to the remote node to resume the specified task. +If the task specified by id is not suspended, then the +INCORRECT_STATE status code is returned. + @page @ifinfo @@ -1448,6 +1457,8 @@ by specifying a value of @code{YIELD_PROCESSOR} in ticks. The maximum timer interval that can be specified is the maximum value which can be represented by the rtems_unsigned32 type. +A clock tick is required to support the functionality of this directive. + @page @ifinfo @@ -1487,3 +1498,5 @@ task will be unblocked and made ready to execute. @subheading NOTES: The ticks portion of time_buffer @value{STRUCTURE} is ignored. The timing granularity of this directive is a second. + +A clock tick is required to support the functionality of this directive. |