[BACK]Return to solaris_pthreads.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc

Diff for /OpenXM_contrib2/asir2000/gc/solaris_pthreads.c between version 1.4 and 1.5

version 1.4, 2002/07/24 07:46:22 version 1.5, 2002/07/24 08:00:12
Line 13 
Line 13 
 /*  /*
  * Support code for Solaris threads.  Provides functionality we wish Sun   * Support code for Solaris threads.  Provides functionality we wish Sun
  * had provided.  Relies on some information we probably shouldn't rely on.   * had provided.  Relies on some information we probably shouldn't rely on.
  * Modified Peter C. for Solaris Posix Threads.   * Modified by Peter C. for Solaris Posix Threads.
  */   */
 /* Boehm, September 14, 1994 4:44 pm PDT */  
 /* $Id$ */  
   
 # if defined(GC_SOLARIS_PTHREADS) || defined(_SOLARIS_PTHREADS)  # if defined(GC_SOLARIS_PTHREADS)
 # include "private/gc_priv.h"  # include "private/gc_priv.h"
 # include <pthread.h>  # include <pthread.h>
 # include <thread.h>  # include <thread.h>
Line 89  GC_pthread_create(pthread_t *new_thread,
Line 87  GC_pthread_create(pthread_t *new_thread,
     }      }
   
     LOCK();      LOCK();
     if (!GC_thr_initialized) {      if (!GC_is_initialized) {
             GC_thr_init();              GC_init_inner();
     }      }
     GC_multithreaded++;      GC_multithreaded++;
   
Line 176  GC_pthread_create(pthread_t *new_thread,
Line 174  GC_pthread_create(pthread_t *new_thread,
   int GC_no_sunOS_pthreads;    int GC_no_sunOS_pthreads;
 #endif  #endif
   
 # endif /* SOLARIS_THREADS */  # endif /* GC_SOLARIS_PTHREADS */
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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