src/os/windows/vm/os_windows.cpp

Print this page

        

@@ -3524,15 +3524,10 @@
   return os::YIELD_UNKNOWN ;
 }
 
 void os::yield() {  os::NakedYield(); }
 
-void os::yield_all() {
-  // Yields to all threads, including threads with lower priorities
-  Sleep(1);
-}
-
 // Win32 only gives you access to seven real priorities at a time,
 // so we compress Java's ten down to seven.  It would be better
 // if we dynamically adjusted relative priorities.
 
 int os::java_to_os_priority[CriticalPriority + 1] = {