Thread API Windows
:)
Set the logical processors a thread is allowed to run on.
Yield the current threads time slice to another thread that is ready to run on the current processor.
Suspends the execution of the current thread for the selected time interval in milliseconds.