Causing and Resetting an Event

The cause and reset statement reactivates waiting processes and then returns the event to NOT HAPPENED. If the event is already HAPPENED when this function is applied, the effect is to reset the event to NOT HAPPENED.

The following ALGOL statement causes and resets the event EVNT1:

CAUSEANDRESET (EVNT1);

The following COBOL statement causes and resets three events:

CAUSE AND RESET EVNT1, EVNT2, EVNT3.