Skip to content

poll.poll() and EINTR #494

@jedisct1

Description

@jedisct1

poll.poll() can currently return io::ErrorKind::Interrupted when an inner system call is being interrupted.

As all examples tend to ignore this, I was wondering whether this behavior was intentional, or if the function should silently retry when it happens. I'd be glad to submit a pull request for the later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions