equal
deleted
inserted
replaced
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. |