bool OS_IsEventError ()
Check if event error (for example signalling counting semaphore when it has maximum value).
Everywhere
None
false |
Event operation OK |
true |
There was an event error |
void Task (void) { for (;;) { /*...*/ OS_Smsg_Send_Now(smsg, 10); if (OS_IsEventError()) { /* previous simple message was overwritten */ }; /*...*/ } }