Cyclone Scheme  0.28.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

◆ gc_mut_cooperate()

void gc_mut_cooperate ( gc_thread_data thd,
int  buf_len 
)

Called by a mutator to cooperate with the collector thread.

Parameters
thdMutator's thread data
buf_lenNumber of objects moved to the heap by the mutator during minor GC

This function must be called periodically by each mutator to coordinate with the collector. In our implementation it is called after minor GC.