diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 15:26:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 15:26:38 (GMT) |
commit | 1506df265553aae4cdcda3320e1634bf1cd2476f (patch) | |
tree | ef62488b9c99dfccba42211573b8e0b5a2b0d6d5 /Lib/asyncio/proactor_events.py | |
parent | f2e1768bc17d199f2ad81d7786e0150585c7cdb4 (diff) | |
download | cpython-1506df265553aae4cdcda3320e1634bf1cd2476f.zip cpython-1506df265553aae4cdcda3320e1634bf1cd2476f.tar.gz cpython-1506df265553aae4cdcda3320e1634bf1cd2476f.tar.bz2 |
Issue #20455: Add a resolution attribute to IocpProactor (1 ms)
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r-- | Lib/asyncio/proactor_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py index f0c08c2..b6b3be2 100644 --- a/Lib/asyncio/proactor_events.py +++ b/Lib/asyncio/proactor_events.py @@ -354,6 +354,7 @@ class BaseProactorEventLoop(base_events.BaseEventLoop): self._selector = proactor # convenient alias self._self_reading_future = None self._accept_futures = {} # socket file descriptor => Future + self._granularity = max(proactor.resolution, self._granularity) proactor.set_loop(self) self._make_self_pipe() |