Tungsten
ThreadSleep Method |
Overload List
Name | Description | |
---|---|---|
Sleep(Int32) |
Blocks the calling thread for the specified time
| |
Sleep(CPUProfileEnum) |
Attempts to free the CPU for other processes, based on the desired level. Consequences will vary depending on your hardware architecture. The more processors/cores you have, the better performance you will have by selecting LowCPU. Likewise, on a single-core processor, you may wish to select HighCPU.
| |
Sleep(Int32, Boolean) |
Blocks the calling thread for the specified time
| |
Sleep(CPUProfileEnum, Int32) |
Attempts to free the CPU for other processes, based on the desired level. Consequences will vary depending on your hardware architecture. The more processors/cores you have, the better performance you will have by selecting SpinWait1. Likewise, on a single-core processor, you may wish to select SpinWait0.
|
See Also