Skip to content

many system calls don't handle EINTR #11214

Closed
@thestinger

Description

@thestinger

POSIX system calls return with EINTR if a signal is sent to the process. Most uses of system calls need to be changed to looping until success. The fsync and fdatasync implementation in the native io::file need to do this too. A close call on non-Linux platforms also has to do this, but must not loop on Linux (thanks for nothing POSIX!).

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