Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support events is zero for uv_poll #702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 15, 2024

  1. feat: support events is zero for uv_poll

    As the poll() manual says that events field may be specified as
    zero, in which case the only events that can be returned in revents
    are POLLHUP, POLLERR, and POLLNVAL.  This patch allows luv to support
    this call method with events equal zero. When the parameters in the
    lua is an empty string, it means that events is zero.
    
    Signed-off-by: Tianjia Zhang <[email protected]>
    uudiin committed May 15, 2024
    Configuration menu
    Copy the full SHA
    cc109f4 View commit details
    Browse the repository at this point in the history