Cyclone Scheme  0.28.0

◆ gc_heap_create()

gc_heap* gc_heap_create ( int  heap_type,
size_t  size,
gc_thread_data thd 
)

Create a new heap page. The caller must hold the necessary locks.

Parameters
heap_typeDefine the size of objects that will be allocated on this heap
sizeRequested size (unpadded) of the heap
thdCalling mutator's thread data object
Returns
Pointer to the newly allocated heap page, or NULL if the allocation failed.