Skip to content

os/signal: update documentation to reflect that C signal handlers no longer require SA_RESTART #44761

@bcmills

Description

@bcmills

Since Go 1.15 (#20400), the Go runtime no longer assumes that C signal handlers have the SA_RESTART flag set.

However, the os/signal documentation still says:

the Go standard library expects that any signal handlers will use the SA_RESTART flag. Failing to do so may cause some library calls to return "interrupted system call" errors.

That documentation should be updated; probably we can just remove those two sentences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.help wanted

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions