OSA : OS_LeaveCriticalSection

OS_LeaveCriticalSection ()

Allowed only in task

Leave the critical section.

Call allowed:

Only in task

Parameters:

None

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_EnterCriticalSection();
        /* make critical operations */
        /*...*/
        OS_LeaveCriticalSection();
        /*...*/
    }
}

See also