diff -r 7ae82c3a781a -r faff125a1ead src/os/bsd/vm/osThread_bsd.hpp --- a/src/os/bsd/vm/osThread_bsd.hpp Thu Oct 03 04:42:57 2013 +0200 +++ b/src/os/bsd/vm/osThread_bsd.hpp Thu Oct 03 12:39:58 2013 +0400 @@ -42,7 +42,7 @@ #ifdef __APPLE__ typedef thread_t thread_id_t; #else - typedef pthread_t thread_id_t; + typedef pid_t thread_id_t; #endif // _pthread_id is the pthread id, which is used by library calls