diff options
author | Kristian Larsson <kristian@spritelink.net> | 2022-11-17 10:11:28 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-11-17 10:12:21 +0300 |
commit | daea2f19089c32f38de916b8949fde42d73daf6f (patch) | |
tree | f20691b7d4f95d3755483446284ae5af6672c330 /.appveyor.yml | |
parent | 542295dc5b2e18dcf3b4bd99de7f3ba9a1264cf2 (diff) | |
download | bdwgc-daea2f19089c32f38de916b8949fde42d73daf6f.tar.gz |
Do not prohibit threaded builds with malloc redirection on non-Linux
Issue #478 (bdwgc).
The malloc (and friends) redirection in a multi-threaded client may
work even on platforms other than Linux (as confirmed on MacOS)
provided the client ensures all the client threads are registered with
the collector, e.g. by using the preprocessor-based interception of
the thread primitives (i.e., define GC_THREADS and include gc.h from
all the client files those are using pthread_create and friends).
* include/private/gcconfig.h [!CPPCHECK && REDIRECT_MALLOC && THREADS
&& !LINUX && !REDIRECT_MALLOC_IN_HEADER]: Remove error preprocessor
directive; add comment.
Diffstat (limited to '.appveyor.yml')
0 files changed, 0 insertions, 0 deletions