src/hotspot/share/runtime/os.hpp
changeset 53077 33b8f6f4cdf5
parent 52581 d402a406bbc3
child 53130 106fc138542a
equal deleted inserted replaced
53076:dd5d7ba5b539 53077:33b8f6f4cdf5
   472   static int sleep(Thread* thread, jlong ms, bool interruptable);
   472   static int sleep(Thread* thread, jlong ms, bool interruptable);
   473   // Short standalone OS sleep suitable for slow path spin loop.
   473   // Short standalone OS sleep suitable for slow path spin loop.
   474   // Ignores Thread.interrupt() (so keep it short).
   474   // Ignores Thread.interrupt() (so keep it short).
   475   // ms = 0, will sleep for the least amount of time allowed by the OS.
   475   // ms = 0, will sleep for the least amount of time allowed by the OS.
   476   static void naked_short_sleep(jlong ms);
   476   static void naked_short_sleep(jlong ms);
       
   477   static void naked_short_nanosleep(jlong ns);
   477   static void infinite_sleep(); // never returns, use with CAUTION
   478   static void infinite_sleep(); // never returns, use with CAUTION
   478   static void naked_yield () ;
   479   static void naked_yield () ;
   479   static OSReturn set_priority(Thread* thread, ThreadPriority priority);
   480   static OSReturn set_priority(Thread* thread, ThreadPriority priority);
   480   static OSReturn get_priority(const Thread* const thread, ThreadPriority& priority);
   481   static OSReturn get_priority(const Thread* const thread, ThreadPriority& priority);
   481 
   482