summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 23:51:45 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 23:51:45 +0000
commita92325c89bb24f8605b6e10b537d3a27e1d89481 (patch)
treeffc86a3dcd09bbe03c89909c85144fcd37a815c5 /base/threading
parent8d85af27786762feac60efe0adf776702a4c7955 (diff)
downloadchromium_src-a92325c89bb24f8605b6e10b537d3a27e1d89481.zip
chromium_src-a92325c89bb24f8605b6e10b537d3a27e1d89481.tar.gz
chromium_src-a92325c89bb24f8605b6e10b537d3a27e1d89481.tar.bz2
[POSIX] CHECK that pthread_join succeeds in PlatformThread::Join.
BUG=274705 Review URL: https://chromiumcodereview.appspot.com/23875025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223176 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 43a42ec..392d461 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -225,7 +225,7 @@ void PlatformThread::Join(PlatformThreadHandle thread_handle) {
// the thread referred to by |thread_handle| may still be running long-lived /
// blocking tasks.
base::ThreadRestrictions::AssertIOAllowed();
- pthread_join(thread_handle.handle_, NULL);
+ CHECK_EQ(0, pthread_join(thread_handle.handle_, NULL));
}
} // namespace base