* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
* linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on GC_FREEBSD_THREADS, handle strange interaction between system pthread implementation and boehm-gc signal-handler architecture. * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS, set stack. * include/private/gcconfig.h (configuration keyed off FREEBSD): Define SIG_SUSPEND, SIG_THR_RESTART. Do not define MPROTECT_VDB when GC_FREEBSD_THREADS is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46307 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- boehm-gc/ChangeLog 12 additions, 0 deletionsboehm-gc/ChangeLog
- boehm-gc/include/gc_pthread_redirects.h 1 addition, 3 deletionsboehm-gc/include/gc_pthread_redirects.h
- boehm-gc/include/private/gcconfig.h 5 additions, 1 deletionboehm-gc/include/private/gcconfig.h
- boehm-gc/linux_threads.c 11 additions, 0 deletionsboehm-gc/linux_threads.c
- boehm-gc/tests/test.c 1 addition, 1 deletionboehm-gc/tests/test.c
Loading
Please register or sign in to comment