equal
deleted
inserted
replaced
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 |