1.1 --- a/src/os/bsd/vm/osThread_bsd.hpp Sun Apr 15 15:37:20 2012 -0700 1.2 +++ b/src/os/bsd/vm/osThread_bsd.hpp Tue Mar 06 12:36:59 2012 +0100 1.3 @@ -72,15 +72,18 @@ 1.4 1.5 #ifdef _ALLBSD_SOURCE 1.6 #ifdef __APPLE__ 1.7 + static size_t thread_id_size() { return sizeof(thread_t); } 1.8 thread_t thread_id() const { 1.9 return _thread_id; 1.10 } 1.11 #else 1.12 + static size_t thread_id_size() { return sizeof(pthread_t); } 1.13 pthread_t thread_id() const { 1.14 return _thread_id; 1.15 } 1.16 #endif 1.17 #else 1.18 + static size_t thread_id_size() { return sizeof(pid_t); } 1.19 pid_t thread_id() const { 1.20 return _thread_id; 1.21 }