aboutsummaryrefslogtreecommitdiff
path: root/src/os/solaris/vm/osThread_solaris.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/solaris/vm/osThread_solaris.hpp')
-rw-r--r--src/os/solaris/vm/osThread_solaris.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/solaris/vm/osThread_solaris.hpp b/src/os/solaris/vm/osThread_solaris.hpp
index 7fe1417e3..6e79e1855 100644
--- a/src/os/solaris/vm/osThread_solaris.hpp
+++ b/src/os/solaris/vm/osThread_solaris.hpp
@@ -36,6 +36,7 @@
bool _vm_created_thread; // true if the VM created this thread,
// false if primary thread or attached thread
public:
+ static size_t thread_id_size() { return sizeof(thread_t); }
thread_t thread_id() const { return _thread_id; }
uint lwp_id() const { return _lwp_id; }
int native_priority() const { return _native_priority; }