summaryrefslogtreecommitdiff
path: root/Ports/bdwgc/patches/ReadMe.md
blob: 1075666b11eab56914ec1538b4f888231fc23d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Patches for bdwgc on SerenityOS

## `0001-Teach-os_dep-and-gcconfig.h-about-serenity.patch`

Teach os_dep and gcconfig.h about serenity


## `0002-Error-on-unknown-arch.patch`

Error on unknown arch


## `0003-Teach-dyn_load.c-about-serenity.patch`

Teach dyn_load.c about serenity


## `0004-Teach-bdwgc-about-serenity-signals.patch`

Teach bdwgc about serenity signals

Serenity doesn't have the realtime POSIX signals, so use SIGXCPU and
SIGXFSZ instead.

## `0005-Explicitly-link-with-pthread.patch`

Explicitly link with pthread

The cmakelists was using the wrong variable to link against pthread.

## `0006-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.

## `0007-Add-serenity-to-the-conigure-list-of-pthread-unixes.patch`

Add serenity to the conigure list of pthread unixes