src/os/bsd/vm/osThread_bsd.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_bsd_vs_linux Sdiff src/os/bsd/vm

src/os/bsd/vm/osThread_bsd.cpp

Print this page
rev 2698 : new bsd files


  32 #include "runtime/vmThread.hpp"
  33 #ifdef TARGET_ARCH_x86
  34 # include "assembler_x86.inline.hpp"
  35 #endif
  36 #ifdef TARGET_ARCH_sparc
  37 # include "assembler_sparc.inline.hpp"
  38 #endif
  39 #ifdef TARGET_ARCH_zero
  40 # include "assembler_zero.inline.hpp"
  41 #endif
  42 #ifdef TARGET_ARCH_arm
  43 # include "assembler_arm.inline.hpp"
  44 #endif
  45 #ifdef TARGET_ARCH_ppc
  46 # include "assembler_ppc.inline.hpp"
  47 #endif
  48 
  49 
  50 void OSThread::pd_initialize() {
  51   assert(this != NULL, "check");
  52   _thread_id        = 0;
  53   _pthread_id       = 0;
  54   _siginfo = NULL;
  55   _ucontext = NULL;
  56   _expanding_stack = 0;
  57   _alt_sig_stack = NULL;
  58 
  59   sigemptyset(&_caller_sigmask);
  60 
  61   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true);
  62   assert(_startThread_lock !=NULL, "check");
  63 }
  64 
  65 void OSThread::pd_destroy() {
  66   delete _startThread_lock;
  67 }


  32 #include "runtime/vmThread.hpp"
  33 #ifdef TARGET_ARCH_x86
  34 # include "assembler_x86.inline.hpp"
  35 #endif
  36 #ifdef TARGET_ARCH_sparc
  37 # include "assembler_sparc.inline.hpp"
  38 #endif
  39 #ifdef TARGET_ARCH_zero
  40 # include "assembler_zero.inline.hpp"
  41 #endif
  42 #ifdef TARGET_ARCH_arm
  43 # include "assembler_arm.inline.hpp"
  44 #endif
  45 #ifdef TARGET_ARCH_ppc
  46 # include "assembler_ppc.inline.hpp"
  47 #endif
  48 
  49 
  50 void OSThread::pd_initialize() {
  51   assert(this != NULL, "check");
  52   _thread_id        = NULL;
  53   _pthread_id       = NULL;
  54   _siginfo = NULL;
  55   _ucontext = NULL;
  56   _expanding_stack = 0;
  57   _alt_sig_stack = NULL;
  58 
  59   sigemptyset(&_caller_sigmask);
  60 
  61   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true);
  62   assert(_startThread_lock !=NULL, "check");
  63 }
  64 
  65 void OSThread::pd_destroy() {
  66   delete _startThread_lock;
  67 }
src/os/bsd/vm/osThread_bsd.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File