src/os/solaris/vm/osThread_solaris.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/os/solaris/vm/osThread_solaris.hpp Thu Jan 19 13:24:55 2012
--- new/src/os/solaris/vm/osThread_solaris.hpp Thu Jan 19 13:24:51 2012
*** 26,47 ****
--- 26,47 ----
#define OS_SOLARIS_VM_OSTHREAD_SOLARIS_HPP
// This is embedded via include into the class OSThread
private:
thread_t _thread_id; // Solaris thread id
! unsigned int _lwp_id; // lwp ID, only used with bound threads
! uint _lwp_id; // lwp ID, only used with bound threads
+ int _native_priority; // Saved native priority when starting
+ // a bound thread
sigset_t _caller_sigmask; // Caller's signal mask
! bool _vm_created_thread; // true if the VM create this thread
! bool _vm_created_thread; // true if the VM create this thread,
// false if primary thread or attached thread
public:
thread_t thread_id() const { return _thread_id; }
+ uint lwp_id() const { return _lwp_id; }
+ int native_priority() const { return _native_priority; }
unsigned int lwp_id() const { return _lwp_id; }
// Set and get state of _vm_created_thread flag
void set_vm_created() { _vm_created_thread = true; }
bool is_vm_created() { return _vm_created_thread; }
// Methods to save/restore caller's signal mask
*** 61,71 ****
--- 61,72 ----
// only 1 and 2 can happen and we can handle both of them
return true;
}
#endif
void set_thread_id(thread_t id) { _thread_id = id; }
! void set_lwp_id(unsigned int id){ _lwp_id = id; }
! void set_lwp_id(uint id) { _lwp_id = id; }
+ void set_native_priority(int prio) { _native_priority = prio; }
// ***************************************************************
// interrupt support. interrupts (using signals) are used to get
// the thread context (get_thread_pc), to set the thread context
// (set_thread_pc), and to implement java.lang.Thread.interrupt.
src/os/solaris/vm/osThread_solaris.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File