]> git.ipfire.org Git - thirdparty/gcc.git/commit
gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
authorLoren J. Rittle <ljrittle@acm.org>
Wed, 17 Oct 2001 04:55:30 +0000 (04:55 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Wed, 17 Oct 2001 04:55:30 +0000 (04:55 +0000)
commitf6d882d9757d3d608aba3490bc4f12fc69bd2787
tree352d5ed2d7dd52515d3eb3a77cba91882a2f5400
parent808dbdd51bc9c5e8393f00610a464b2e7898639e
gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.

* 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.

From-SVN: r46307
boehm-gc/ChangeLog
boehm-gc/include/gc_pthread_redirects.h
boehm-gc/include/private/gcconfig.h
boehm-gc/linux_threads.c
boehm-gc/tests/test.c