comparison src/os/windows/vm/os_windows.cpp @ 10136:cc12becb22e7

Merge
author dcubed
date Sun, 21 Apr 2013 21:05:02 -0700
parents 5b6512efcdc4 5a9fa2ba85f0
children 0b55a78c6be5
comparison
equal deleted inserted replaced
10134:a527ddd44e07 10136:cc12becb22e7
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.