Available Languages?:

OSA : OS_IsEventError

bool OS_IsEventError ()

Check if event error (for example signalling counting semaphore when it has maximum value).

Call allowed:

Everywhere

Parameters:

None

Returns:

false Event operation OK
true There was an event error

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Smsg_Send_Now(smsg, 10);
        if (OS_IsEventError()) {
            /* previous simple message was overwritten */
        };
        /*...*/
    }
}

See also

 
en/osa/ref/allservices/os_iseventerror.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