[BACK]Return to linux_threads.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gc

Diff for /OpenXM_contrib/gc/Attic/linux_threads.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 1999/11/27 10:58:32 version 1.1.1.2, 2000/04/14 11:07:59
Line 118  GC_linux_thread_top_of_stack() relies on implementatio
Line 118  GC_linux_thread_top_of_stack() relies on implementatio
 LinuxThreads, namely that thread stacks are allocated on 2M boundaries  LinuxThreads, namely that thread stacks are allocated on 2M boundaries
 and grow to no more than 2M.  and grow to no more than 2M.
 To make sure that we're using LinuxThreads and not some other thread  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  which is a symbol defined in LinuxThreads, but (hopefully) not in other
 thread packages.  thread packages.
 */  */
 extern char * __pthread_initial_thread_bos;  void (*dummy_var_to_force_linux_threads)() = pthread_kill_other_threads_np;
 char **dummy_var_to_force_linux_threads = &__pthread_initial_thread_bos;  
   
 #define LINUX_THREADS_STACK_SIZE  (2 * 1024 * 1024)  #define LINUX_THREADS_STACK_SIZE  (2 * 1024 * 1024)
   

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>