hotspot/src/os/windows/vm/os_windows.cpp
changeset 17032 61a9e303d989
parent 17028 8972029d19a0
parent 17031 9a576749065b
child 17128 799aa0c1713e
equal deleted inserted replaced
17030:c91fa0770046 17032:61a9e303d989
  3303   // 1:  Thread is running now
  3303   // 1:  Thread is running now
  3304   // >1: Thread is still suspended.
  3304   // >1: Thread is still suspended.
  3305   assert(ret != SYS_THREAD_ERROR, "StartThread failed"); // should propagate back
  3305   assert(ret != SYS_THREAD_ERROR, "StartThread failed"); // should propagate back
  3306 }
  3306 }
  3307 
  3307 
  3308 class HighResolutionInterval : public CHeapObj<mtThread> {
  3308 class HighResolutionInterval {
  3309   // The default timer resolution seems to be 10 milliseconds.
  3309   // The default timer resolution seems to be 10 milliseconds.
  3310   // (Where is this written down?)
  3310   // (Where is this written down?)
  3311   // If someone wants to sleep for only a fraction of the default,
  3311   // If someone wants to sleep for only a fraction of the default,
  3312   // then we set the timer resolution down to 1 millisecond for
  3312   // then we set the timer resolution down to 1 millisecond for
  3313   // the duration of their interval.
  3313   // the duration of their interval.