cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_gc Struct Reference

High-level wrapper over libttak's epoch GC. More...

#include <gc.h>

Public Attributes

ttak_epoch_gc_t impl
 
bool initialized
 Check if CWIST GC has initialized.
 
_Atomic bool auto_rotated
 Check if GC should scan and reclaim objects.
 

Detailed Description

High-level wrapper over libttak's epoch GC.

These helpers keep initialization/destruction scoped to CWIST so applications can toggle GC behavior without touching libttak internals.

Definition at line 20 of file gc.h.

Member Data Documentation

◆ auto_rotated

_Atomic bool cwist_gc::auto_rotated

Check if GC should scan and reclaim objects.

Definition at line 25 of file gc.h.

Referenced by cwist_gc_auto_rotate(), and cwist_gc_auto_rotated().

◆ impl

◆ initialized

bool cwist_gc::initialized

Check if CWIST GC has initialized.

Definition at line 23 of file gc.h.

Referenced by cwist_gc(), cwist_gc_auto_rotate(), cwist_gc_raw(), cwist_gc_reg_untrack(), cwist_gc_rotate(), cwist_gc_shutdown(), and cwist_reg_ptr_sized().


The documentation for this struct was generated from the following file: