This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, neologix, vstinner
Date 2014-02-07.16:18:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391789902.46.0.081699878923.issue20505@psf.upfronthosting.co.za>
In-reply-to
Content
About Windows, it looks like select() and GetQueuedCompletionStatus() (poll function the IocpProactor) round the timeout away from zero (the timeout is a number of milliseconds, an integer).

Examples with GetQueuedCompletionStatus():
- 2 ms (timeout) => 15 ms (elasped time)
- 100 ms => 109 ms
- 157 ms => 172 ms

Example with select():
- 2 ms => 16 ms
- 100 ms => 110 ms
- 156 ms => 171 ms
History
Date User Action Args
2014-02-07 16:18:22vstinnersetrecipients: + vstinner, gvanrossum, neologix
2014-02-07 16:18:22vstinnersetmessageid: <1391789902.46.0.081699878923.issue20505@psf.upfronthosting.co.za>
2014-02-07 16:18:22vstinnerlinkissue20505 messages
2014-02-07 16:18:22vstinnercreate