diff options
author | hboehm <hboehm> | 2006-05-19 00:58:44 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:37 +0400 |
commit | 5a4029619166b0e9cce266bc1408ade9afd49351 (patch) | |
tree | 97d5c2c24c75525fbec40e9ddd243628a709fbcf /specific.c | |
parent | 202c39dc85257e50c8ecacba67a4e804ec90bc99 (diff) | |
download | bdwgc-5a4029619166b0e9cce266bc1408ade9afd49351.tar.gz |
2006-05-18 Hans Boehm <Hans.Boehm@hp.com>
* pthread_support.c: Fix stack size sanity check for Solaris.
* specific.c: Use for non-Linux platforms.
* include/private/thread_local_alloc.h: GC-remove_specific always
takes an argument.
* configure.ac: Enable thread-local allocation on Solaris.
* configure: Regenerate.
Diffstat (limited to 'specific.c')
-rw-r--r-- | specific.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -12,11 +12,14 @@ */ #include "private/gc_priv.h" /* For configuration, pthreads.h. */ +#include "private/thread_local_alloc.h" + /* To determine type of tsd impl. */ + /* Includes private/specific.h */ + /* if needed. */ -#if defined(GC_LINUX_THREADS) +#if defined(USE_CUSTOM_SPECIFIC) #include "atomic_ops.h" -#include "private/specific.h" static tse invalid_tse = {INVALID_QTID, 0, 0, INVALID_THREADID}; /* A thread-specific data entry which will never */ @@ -159,4 +162,4 @@ void PREFIXED(check_tsd_marks) (tsd *key) #endif -#endif /* GC_LINUX_THREADS */ +#endif /* USE_CUSTOM_SPECIFIC */ |