Home |
RTKernel-32 Programming Manual Function RTKSuspend |
Function RTKSuspendFunction RTKSuspend can be used to deactivate a task. Thereafter, the task can only be reactivated by calling function RTKResume. void RTKSuspend(RTKTaskHandle Handle); ParametersHandleReferences the task to deactivate. If the task is already suspended, RTKSuspend has no effect. Prior to actually suspending the task, RTKernel-32 makes sure the task is not occupying a resource or mutex semaphore. In this case, the task continues to run until all resources have been released. The suspending task does not wait until task suspension has been completed, but continues to run immediately.
|