Reviewers: Sven Panne,

Description:
Fix typo in Mac GetCurrentThreadId

BUG=none
[email protected]
LOG=n

Please review this at https://codereview.chromium.org/642223003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/base/platform/platform-posix.cc


Index: src/base/platform/platform-posix.cc
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc index cd7e09a39ee491a6c59411e8c69257ef5113b3ee..fe1537c4463d63fbe639702c3ca6353bb1aaa0dc 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<int>(pthread_mac_thread_np(pthread_self()));
+  return static_cast<int>(pthread_mach_thread_np(pthread_self()));
 #elif V8_OS_LINUX
   return static_cast<int>(syscall(__NR_gettid));
 #elif V8_OS_ANDROID


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to