Skip to content

Support registering all runtime signal handlers with SA_ONSTACK #110368

Open
@agocke

Description

Some languages and frameworks (like Go), require that all signals be registered with SA_ONSTACK because they create threads with very small stack sizes. .NET currently does not support this mode. All signal handling in the runtime would have to be audited and rewritten to support executing with SA_ONSTACK.

Go's interop policy

This feature would be nice to have, but is complex to implement.

See https://learn.microsoft.com/dotnet/standard/native-interop/abi-support#golang for our current support policy due to this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions