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

Unified Diff: src/base/platform/platform-win32.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-posix.cc ('k') | test/cctest/test-threads.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform-win32.cc
diff --git a/src/base/platform/platform-win32.cc b/src/base/platform/platform-win32.cc
index b0677afad55cb84545ac92989196db1522985c3f..397b7a9f71e7b4b4a57150c2bc2f1cc0ee709a07 100644
--- a/src/base/platform/platform-win32.cc
+++ b/src/base/platform/platform-win32.cc
@@ -1384,10 +1384,5 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* value) {
DCHECK(result);
}
-
-
-void Thread::YieldCPU() {
- Sleep(0);
-}
-
-} } // namespace v8::base
+} // namespace base
+} // namespace v8
« no previous file with comments | « src/base/platform/platform-posix.cc ('k') | test/cctest/test-threads.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698