Command disabled: backlink
 
Available Languages?:

OSA : OS_Wait

OS_Wait (condition)

Allowed only in taskSwitches context

Wait until condition is true.

Call allowed:

Only in task

Parameters:

condition Any boolean expression

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Wait(a < 5 && TMR1IF);
        /*...*/
    }
}

Old style name

OS_WaitCondition

OS_Cond_Wait

See also

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