Function cmb_event_queue_terminate
Defined in File cmb_event.h
Function Documentation
-
void cmb_event_queue_terminate(void)
Reset event queue to fresh state. Free’s memory allocated for internal workings of the event queue.
No argument needed, acts on the current thread’s event queue.
Call at the end of every simulation trial to clean up allocated space for the event queue. Then call
cmb_event_queue_initialize()again at the start of the next trial.