Source: bdwgc and libatomic_ops master
How to reproduce:
gcc -O0 -I include -I libatomic_ops/src -Wno-deprecated-declarations -DGC_THREADS -DHANDLE_FORK tests/test.c extra/gc.c && ./a.out
More over, the following configuration results in a hang:
gcc -O0 -I include -I libatomic_ops/src -Wno-deprecated-declarations -DGC_THREADS -DHANDLE_FORK -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC tests/test.c extra/gc.c && ./a.out
Source: bdwgc and libatomic_ops master How to reproduce: gcc -O0 -I include -I libatomic_ops/src -Wno-deprecated-declarations -DGC_THREADS -DHANDLE_FORK tests/test.c extra/gc.c && ./a.out
More over, the following configuration results in a hang: gcc -O0 -I include -I libatomic_ops/src -Wno-deprecated-declarations -DGC_THREADS -DHANDLE_FORK -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC tests/test.c extra/gc.c && ./a.out