Function cmb_event_queue_clear

Function Documentation

void cmb_event_queue_clear(void)

Clears out all scheduled events from the queue.

Does not deallocate any memory or reset any counters, just cancels all events in the queue. Calling this function from an event will stop the simulation running as cmb_event_queue_execute()- no more events to execute after that.