Command disabled: backlink
 
Available Languages?:

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

 
en/osa/ref/allservices/os_leavecriticalsection.txt · Last modified: 07.10.2010 13:56 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki