# Patches for bdwgc on Minerva
## `0001-Teach-os_dep-and-gcconfig.h-about-minerva.patch`
Teach os_dep and gcconfig.h about minerva
## `0002-Error-on-unknown-arch.patch`
Error on unknown arch
## `0003-Teach-dyn_load.c-about-minerva.patch`
Teach dyn_load.c about minerva
## `0004-Teach-bdwgc-about-minerva-signals.patch`
Teach bdwgc about minerva signals
Minerva doesn't have the realtime POSIX signals, so use SIGXCPU and
SIGXFSZ instead.
## `0005-Make-the-collector-build-with-threads.patch`
Make the collector build with threads
In an extremely limited way for now:
- No extra threads
More threads always lead to exactly one borked thread that's stuck
in no man's land, doing who-knows-what, and definitely not
responding to signals.
However, the APIs are there and they work, so they *can* be used to
make threads.
- No fork handling
Seems borked for unknown reasons.
## `0006-Add-minerva-to-the-configure-list-of-pthread-unixes.patch`
Add minerva to the configure list of pthread unixes