Examples of CAUSEANDRESET Statements

The following example activates the tasks waiting for the event EVNT, and sets the happened state of EVNT to FALSE (not happened).

CAUSEANDRESET(EVNT)

The following example activates the tasks waiting for the event identified by EVNTARAY[INDX], and sets the happened state of that event to FALSE (not happened).

CAUSEANDRESET(EVNTARAY[INDX])

The following example activates the tasks waiting for a change in the status of the task TSK, and sets the happened state of TSK.EXCEPTIONEVENT to FALSE (not happened).

CAUSEANDRESET(TSK.EXCEPTIONEVENT)