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

Unified Diff: vm/thread_macos.cc

Issue 8370016: Revert https://code.google.com/p/dart/source/detail?r=597 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 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 | « vm/thread.h ('k') | vm/thread_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/thread_macos.cc
===================================================================
--- vm/thread_macos.cc (revision 621)
+++ vm/thread_macos.cc (working copy)
@@ -193,8 +193,6 @@
Monitor::WaitResult retval = kNotified;
if (millis == 0) {
// Wait forever.
- // If the thread receives a signal, pthread_cond_wait may return 0,
- // because of a spurious wakeup.
int result = pthread_cond_wait(data_.cond(), data_.mutex());
VALIDATE_PTHREAD_RESULT(result);
} else {
« no previous file with comments | « vm/thread.h ('k') | vm/thread_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698