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

Unified Diff: vm/thread_test.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_macos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/thread_test.cc
===================================================================
--- vm/thread_test.cc (revision 621)
+++ vm/thread_test.cc (working copy)
@@ -45,7 +45,6 @@
int64_t wait_time = 2017;
Monitor::WaitResult wait_result = ml.Wait(wait_time);
int64_t stop = OS::GetCurrentTimeMillis();
- // Note: This may fail due to spurious wakeups in pthread_cond_wait().
EXPECT_EQ(Monitor::kTimedOut, wait_result);
const int kAcceptableTimeJitter = 20; // Measured in milliseconds.
EXPECT_LE(wait_time - kAcceptableTimeJitter, stop - start);
« no previous file with comments | « vm/thread_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698