PEP 418: Make it explicit than calling timeBeginPeriod() affects

WaitForSingleObject() and Sleep()
This commit is contained in:
Victor Stinner 2012-04-09 02:24:38 +02:00
parent 05d90f35a2
commit 471e1412ec
1 changed files with 4 additions and 3 deletions

View File

@ -509,9 +509,10 @@ days).
The default precision of the timeGetTime function can be five
milliseconds or more, depending on the machine.
timeBeginPeriod() can be used to increase the precision of
timeGetTime() up to 1 millisecond, but it negatively affects power
consumption.
timeBeginPeriod() can be used to increase the precision of timeGetTime() up to
1 millisecond, but it negatively affects power consumption. Calling
timeBeginPeriod() also affects the granularity of some other timing calls, such
as CreateWaitableTimer(), WaitForSingleObject() and Sleep().
.. note::