we use embOS V3.82n for Renesas SH2A source code version.
For our application we changed default Task events from 8 bit to 32 bit (#define OS_TASK_EVENT OS_U32). Using our custom version with more Task events we found a bug, that appears sometimes we using OS_WaitSingleEventTimed() (Task suspend for timeout time also if the masked event was signaled).

We located the bug. The function OS_DeactivateTimedV(), calling by OS_WaitSingleEventTimed(), modify the current Task event mask unfortunately with casting the mask:

OS_pCurrentTask->EventMask = (OS_U8)v;

For all who won’t to use more task events with embOS V3.82n for Renesas SH2A change the line to:

unfortunately you are right, there was an issue with 32 bit task events and internal embOS funcion OS_DeactivateTimedV().
We apologize for any inconvenience caused by this problem.
This is already fixed in latest embOS version.