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

Unified Diff: test/cctest/test-threads.cc

Issue 1116853002: [base] Drop obsolete Thread::YieldCPU. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Of course also remove it from the cctest Created 5 years, 8 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 | « src/base/platform/platform-win32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-threads.cc
diff --git a/test/cctest/test-threads.cc b/test/cctest/test-threads.cc
index 0f332a3af7b0dfa2259a23e7c2326414fac617a0..e192bc155941d8f617bca42afa50b1cfb9ed90a7 100644
--- a/test/cctest/test-threads.cc
+++ b/test/cctest/test-threads.cc
@@ -70,7 +70,6 @@ class ThreadA : public v8::base::Thread {
do {
{
v8::Unlocker unlocker(CcTest::isolate());
- Thread::YieldCPU();
}
} while (turn != SECOND_TIME_FILL_CACHE);
@@ -102,8 +101,6 @@ class ThreadB : public v8::base::Thread {
break;
}
}
-
- Thread::YieldCPU();
} while (true);
}
};
« no previous file with comments | « src/base/platform/platform-win32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698