From 5a4578ccde155bca31f98e331bd839bd30ccc015 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Fri, 10 Oct 2014 07:27:33 +0000 Subject: [PATCH] Fix typo in Mac GetCurrentThreadId BUG=none TBR=svenpanne@chromium.org LOG=n Review URL: https://codereview.chromium.org/642223003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24512 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/base/platform/platform-posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc index cd7e09a39e..fe1537c446 100644 --- a/src/base/platform/platform-posix.cc +++ b/src/base/platform/platform-posix.cc @@ -254,7 +254,7 @@ int OS::GetCurrentProcessId() { int OS::GetCurrentThreadId() { #if V8_OS_MACOSX - return static_cast(pthread_mac_thread_np(pthread_self())); + return static_cast(pthread_mach_thread_np(pthread_self())); #elif V8_OS_LINUX return static_cast(syscall(__NR_gettid)); #elif V8_OS_ANDROID