Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: runtime/vm/os_thread_macos.cc

Issue 1412343002: Fix calls to pthread_join (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/os_thread_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_macos.cc
diff --git a/runtime/vm/os_thread_macos.cc b/runtime/vm/os_thread_macos.cc
index 827f74925763b78ab6886403d8577c876c1fa41a..e7c7c90878908369333f7b1a7915f411cf01fdd7 100644
--- a/runtime/vm/os_thread_macos.cc
+++ b/runtime/vm/os_thread_macos.cc
@@ -161,7 +161,8 @@ ThreadJoinId OSThread::GetCurrentThreadJoinId() {
void OSThread::Join(ThreadJoinId id) {
- ASSERT(pthread_join(id, NULL) == 0);
+ int result = pthread_join(id, NULL);
+ ASSERT(result == 0);
}
« no previous file with comments | « runtime/vm/os_thread_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698