Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information