Registry / utility / bdwgc
library8.2.12vcpkgunverified

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc)

vcpkg install bdwgc
INSTALL
IMPORT
SIG · BDWGC
B
bdwgc
utilitycppv8.2.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gc.h
#include <gc.h>

Allocate memory with garbage collection

#include <gc.h> #include <iostream> int main() { GC_INIT(); int *p = (int*)GC_MALLOC(sizeof(int)); *p = 42; std::cout << *p << '\n'; return 0; }
Debug
Known issues
gotchaThread-local allocation requires GC_init() call before any thread creation
fix
Call GC_INIT() at program start before spawning threads
affects: *
Upgrade
Version history
8.2.12latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources

No resource links recorded.

bdwgc — pip install bdwgc · libregistry