OSA : OS_Task_Continue

OS_Task_Continue (OST_TASK_POINTER tp)

Continue paused external task.

Before calling this service you should be sure that variable tp was initialized.

Call allowed:

Everywhere

Parameters:

to Pointer to task descriptor (OST_TASK_POINTER*)

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Task_Pause(tp);       // Pause external task
        /*...*/                  // Make time critical operations
        OS_Task_Continue(tp);    // Continue paused task
        /*...*/
    }
}

Old style name

OS_ContinueTask

See also