summaryrefslogtreecommitdiffstats
path: root/boehm-gc/tests
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-17 04:55:30 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-17 04:55:30 +0000
commitee0a3768c65ec1287ff0d09e867a8a1e84c49b94 (patch)
tree352d5ed2d7dd52515d3eb3a77cba91882a2f5400 /boehm-gc/tests
parente1ab57f4a8a270efc90083bf6a595a8ca1f3febd (diff)
downloadppe42-gcc-ee0a3768c65ec1287ff0d09e867a8a1e84c49b94.tar.gz
ppe42-gcc-ee0a3768c65ec1287ff0d09e867a8a1e84c49b94.zip
* 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
Diffstat (limited to 'boehm-gc/tests')
-rw-r--r--boehm-gc/tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/tests/test.c b/boehm-gc/tests/test.c
index 35cb1357883..e8cc9763f44 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;
OpenPOWER on IntegriCloud