diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-10-17 04:55:30 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-10-17 04:55:30 +0000 |
commit | f6d882d9757d3d608aba3490bc4f12fc69bd2787 (patch) | |
tree | 352d5ed2d7dd52515d3eb3a77cba91882a2f5400 /boehm-gc/tests | |
parent | 808dbdd51bc9c5e8393f00610a464b2e7898639e (diff) | |
download | gcc-f6d882d9757d3d608aba3490bc4f12fc69bd2787.zip gcc-f6d882d9757d3d608aba3490bc4f12fc69bd2787.tar.gz gcc-f6d882d9757d3d608aba3490bc4f12fc69bd2787.tar.bz2 |
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
Diffstat (limited to 'boehm-gc/tests')
-rw-r--r-- | boehm-gc/tests/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/tests/test.c b/boehm-gc/tests/test.c index 35cb135..e8cc976 100644 --- a/boehm-gc/tests/test.c +++ b/boehm-gc/tests/test.c @@ -1624,7 +1624,7 @@ main() } # endif /* GC_HPUX_THREADS */ pthread_attr_init(&attr); -# if defined(GC_IRIX_THREADS) +# if defined(GC_IRIX_THREADS) || defined(GC_FREEBSD_THREADS) pthread_attr_setstacksize(&attr, 1000000); # endif n_tests = 0; |