Skip to content

epoll_wait的最后参数为什么是4MS ?  #46

@yeyilihappy

Description

@yeyilihappy

如题,不应该通过计算定期或者超时事件最小触发时间而动态进行设置吗?
无就绪事件而有定时器来时,4ms会有延迟处理;
无就绪事件也无定时器来时,4MS触发的往下执行没有必要。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions