win32api.Sleep

int = Sleep(time, bAlterable )

Suspends execution of the current thread for the specified time.

Parameters

time : int

The number of milli-seconds to sleep for,

bAlterable=0 : int

Specifies whether the function may terminate early due to an I/O completion callback function.

Win32 API References

Search for Sleep at msdn, google or google groups.

Search for SleepEx at msdn, google or google groups.

Return Value

The return value is zero if the specified time interval expired.