=================================================================== RCS file: /home/cvs/OpenXM_contrib/gc/Attic/linux_threads.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- OpenXM_contrib/gc/Attic/linux_threads.c 1999/11/27 10:58:32 1.1.1.1 +++ OpenXM_contrib/gc/Attic/linux_threads.c 2000/04/14 11:07:59 1.1.1.2 @@ -118,12 +118,12 @@ GC_linux_thread_top_of_stack() relies on implementatio LinuxThreads, namely that thread stacks are allocated on 2M boundaries and grow to no more than 2M. To make sure that we're using LinuxThreads and not some other thread -package, we generate a dummy reference to `__pthread_initial_thread_bos', +package, we generate a dummy reference to `pthread_kill_other_threads_np' +(was `__pthread_initial_thread_bos' but that disappeared), which is a symbol defined in LinuxThreads, but (hopefully) not in other thread packages. */ -extern char * __pthread_initial_thread_bos; -char **dummy_var_to_force_linux_threads = &__pthread_initial_thread_bos; +void (*dummy_var_to_force_linux_threads)() = pthread_kill_other_threads_np; #define LINUX_THREADS_STACK_SIZE (2 * 1024 * 1024)