namespace sys.core class Thread
static func Sleep(msec: DWord);
Puts the main thread of application to sleep for an input amount of milliseconds.
msec=> number of milliseconds to sleep