Index: src/base/platform/platform-posix.cc |
diff --git a/src/base/platform/platform-posix.cc b/src/base/platform/platform-posix.cc |
index 8fb40b0bc0c6b200d87782b6e2b3d89de44e3a22..78b8d782580e4a2897aa0da8e7196bef7aed4f4b 100644 |
--- a/src/base/platform/platform-posix.cc |
+++ b/src/base/platform/platform-posix.cc |
@@ -631,13 +631,6 @@ void Thread::Join() { |
} |
-void Thread::YieldCPU() { |
- int result = sched_yield(); |
- DCHECK_EQ(0, result); |
- USE(result); |
-} |
- |
- |
static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { |
#if V8_OS_CYGWIN |
// We need to cast pthread_key_t to Thread::LocalStorageKey in two steps |
@@ -761,5 +754,5 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* value) { |
USE(result); |
} |
- |
-} } // namespace v8::base |
+} // namespace base |
+} // namespace v8 |