未验证 提交 b8bb6a4a 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

[poll][select] 修复select死循环的问题 (#5740)

上级 06b56d1a
......@@ -168,6 +168,7 @@ static int poll_do(struct pollfd *fds, nfds_t nfds, struct rt_poll_table *pt, in
{
pf = fds;
num = 0;
pt->triggered = 0;
for (n = 0; n < nfds; n ++)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册