comparison src/os/solaris/vm/osThread_solaris.hpp @ 6006:0105f367a14c

7160570: Intrinsification support for tracing framework Reviewed-by: sla, never
author rbackman
date Tue, 06 Mar 2012 12:36:59 +0100
parents de268c8a8075
children 960a442eae91
comparison
equal deleted inserted replaced
6005:c263e0e9f14b 6006:0105f367a14c
34 // a bound thread 34 // a bound thread
35 sigset_t _caller_sigmask; // Caller's signal mask 35 sigset_t _caller_sigmask; // Caller's signal mask
36 bool _vm_created_thread; // true if the VM created this thread, 36 bool _vm_created_thread; // true if the VM created this thread,
37 // false if primary thread or attached thread 37 // false if primary thread or attached thread
38 public: 38 public:
39 static size_t thread_id_size() { return sizeof(thread_t); }
39 thread_t thread_id() const { return _thread_id; } 40 thread_t thread_id() const { return _thread_id; }
40 uint lwp_id() const { return _lwp_id; } 41 uint lwp_id() const { return _lwp_id; }
41 int native_priority() const { return _native_priority; } 42 int native_priority() const { return _native_priority; }
42 43
43 // Set and get state of _vm_created_thread flag 44 // Set and get state of _vm_created_thread flag