====== 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: ===
{| class = "fpl"
|-
|//''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:services:alphabetical|Alphabetical]]
* [[en:osa:ref:services:brieflist|All services]]
~~UP~~