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

Unified Diff: runtime/vm/os_thread_android.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 | « no previous file | runtime/vm/os_thread_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_android.cc
diff --git a/runtime/vm/os_thread_android.cc b/runtime/vm/os_thread_android.cc
index 8cbb03ee13b44c94f25bff228b41d80fc02989c5..fa8789692cab04ba2e914f45819f196c83b6a25a 100644
--- a/runtime/vm/os_thread_android.cc
+++ b/runtime/vm/os_thread_android.cc
@@ -167,7 +167,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 | « no previous file | runtime/vm/os_thread_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698