diff options
Diffstat (limited to 'pthread_support.c')
-rw-r--r-- | pthread_support.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pthread_support.c b/pthread_support.c index cbb66c50..90602de2 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -528,11 +528,6 @@ void GC_push_thread_structures(void) /* It may not be safe to allocate when we register the first thread. */ static struct GC_Thread_Rep first_thread; -#define THREAD_TABLE_INDEX(id) \ - (int)(((NUMERIC_THREAD_ID(id) >> 16) \ - ^ (NUMERIC_THREAD_ID(id) >> 8) \ - ^ NUMERIC_THREAD_ID(id)) % THREAD_TABLE_SZ) - /* Add a thread to GC_threads. We assume it wasn't already there. */ /* Caller holds allocation lock. */ STATIC GC_thread GC_new_thread(pthread_t id) |