summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorctruta@blackberry.com <ctruta@blackberry.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 12:27:37 +0000
committerctruta@blackberry.com <ctruta@blackberry.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 12:27:37 +0000
commiteda7afa19c189f1ce02a1dc3665bf20051a7e115 (patch)
treee28b00062c3eb5f459bf6eb57620d58849ae8574 /base/threading
parent0a418bc7c8de942fa2fb5094e740ab17587577a3 (diff)
downloadchromium_src-eda7afa19c189f1ce02a1dc3665bf20051a7e115.zip
chromium_src-eda7afa19c189f1ce02a1dc3665bf20051a7e115.tar.gz
chromium_src-eda7afa19c189f1ce02a1dc3665bf20051a7e115.tar.bz2
Add support for threading and atomic ops in QNX Neutrino.
BUG= Patch by: Eli Fidler <efidler@blackberry.com>, Jeff Rogers <jrogers@blackberry.com>, Cosmin Truta <ctruta@blackberry.com>. Review URL: https://codereview.chromium.org/156233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading')
-rw-r--r--base/threading/platform_thread_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
index 392d461..421830e 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -150,7 +150,7 @@ PlatformThreadId PlatformThread::CurrentId() {
return syscall(__NR_gettid);
#elif defined(OS_ANDROID)
return gettid();
-#elif defined(OS_SOLARIS)
+#elif defined(OS_SOLARIS) || defined(OS_QNX)
return pthread_self();
#elif defined(OS_NACL) && defined(__GLIBC__)
return pthread_self();