diff --git a/AUTHORS b/AUTHORS index e98c6c003b..5b976b8b79 100644 --- a/AUTHORS +++ b/AUTHORS @@ -62,6 +62,7 @@ Jay Freeman James Pike Jianghua Yang Joel Stanley +Johan Bergström Jonathan Liu JunHo Seo Kang-Hao (Kenny) Lu diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc index 13461fafa0..e43493f0ae 100644 --- a/src/base/platform/platform-posix.cc +++ b/src/base/platform/platform-posix.cc @@ -273,6 +273,8 @@ int OS::GetCurrentThreadId() { return static_cast(gettid()); #elif V8_OS_AIX return static_cast(thread_self()); +#elif V8_OS_SOLARIS + return static_cast(pthread_self()); #else return static_cast(reinterpret_cast(pthread_self())); #endif