@@ -24,6 +24,8 @@ the execution of the process.
2424 Equivalent to calling ``get_event_loop_policy().new_event_loop() ``.
2525
2626
27+ .. _asyncio-event-loops :
28+
2729Available event loops
2830---------------------
2931
@@ -57,6 +59,7 @@ Example to use a :class:`ProactorEventLoop` on Windows::
5759 loop = asyncio.ProactorEventLoop()
5860 asyncio.set_event_loop(loop)
5961
62+ .. _asyncio-platform-support :
6063
6164Platform support
6265----------------
@@ -70,21 +73,27 @@ Windows
7073Common limits of Windows event loops:
7174
7275- :meth: `~BaseEventLoop.create_unix_server ` and
73- :meth: `~BaseEventLoop.create_unix_server ` are not supported: specific to UNIX
76+ :meth: `~BaseEventLoop.create_unix_server ` are not supported: the socket
77+ family :data: `socket.AF_UNIX ` is specific to UNIX
7478- :meth: `~BaseEventLoop.add_signal_handler ` and
7579 :meth: `~BaseEventLoop.remove_signal_handler ` are not supported
76- - Pipes are not supported: : meth: `~BaseEventLoop.connect_read_pipe ` and
77- :meth: ` ~BaseEventLoop.connect_write_pipe `
78- - :meth: ` EventLoopPolicy.set_child_watcher ` is not supported
80+ - : meth: `EventLoopPolicy.set_child_watcher ` is not supported.
81+ :class: ` ProactorEventLoop ` supports subprocesses. It has only one
82+ implementation to watch child processes, there is no need to configure it.
7983
8084:class: `SelectorEventLoop ` specific limits:
8185
8286- :class: `~selectors.SelectSelector ` is used but it only supports sockets,
8387 see the `MSDN documentation of select
84- <http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx> `_.
85- - it is not possible to execute subprocesses
88+ <http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx> `_
8689- :meth: `~BaseEventLoop.add_reader ` and :meth: `~BaseEventLoop.add_writer ` only
8790 accept file descriptors of sockets
91+ - Pipes are not supported
92+ (ex: :meth: `~BaseEventLoop.connect_read_pipe `,
93+ :meth: `~BaseEventLoop.connect_write_pipe `)
94+ - :ref: `Subprocesses <asyncio-subprocess >` are not supported
95+ (ex: :meth: `~BaseEventLoop.subprocess_exec `,
96+ :meth: `~BaseEventLoop.subprocess_shell `)
8897
8998:class: `ProactorEventLoop ` specific limits:
9099
@@ -95,9 +104,10 @@ Common limits of Windows event loops:
95104 not supported
96105
97106The resolution of the monotonic clock on Windows is usually around 15.6 msec.
98- The best resolution is 0.5 msec. The exact resolution depends on the hardware
99- (availability of HPET) and the Windows configuration. See :ref: `asyncio delayed
100- calls <asyncio-delayed-calls>`.
107+ The best resolution is 0.5 msec. The resolution depends on the hardware
108+ (availability of `HPET
109+ <http://fr.wikipedia.org/wiki/High_Precision_Event_Timer> `_) and on the Windows
110+ configuration. See :ref: `asyncio delayed calls <asyncio-delayed-calls >`.
101111
102112
103113Mac OS X
0 commit comments