We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3b1884 + ce92c87 commit 6b1d898Copy full SHA for 6b1d898
source/c11/p12_understanding_event_driven_io.rst
@@ -54,10 +54,10 @@
54
for h in can_send:
55
h.handle_send()
56
57
-事件循环的关键部分是 ``select() `` 调用,它会不断轮询文件描述符从而激活它。
58
-在调用 ``select()`` 之前,时间循环会询问所有的处理器来决定哪一个想接受或发生。
59
-然后它将结果列表提供给 ``select()`` 。然后 ``select()`` 返回准备接受或发送的对象组成的列表。
60
-然后相应的 ``handle_receive()`` 或 ``handle_send()`` 方法被触发。
+事件循环的关键部分是 ``select()`` 调用,它会不断轮询文件描述符从而激活它。
+在调用 ``select()`` 之前,时间循环会询问所有的处理器来决定哪一个想接受或发生。
+然后它将结果列表提供给 ``select()`` 。然后 ``select()`` 返回准备接受或发送的对象组成的列表。
+然后相应的 ``handle_receive()`` 或 ``handle_send()`` 方法被触发。
61
62
编写应用程序的时候,``EventHandler`` 的实例会被创建。例如,下面是两个简单的基于UDP网络服务的处理器例子:
63
0 commit comments