Skip to content

Can we emulate inter-thread signal handling such that raise() (i.e. kill(getpid())) can work between threads? #14892

@sbc100

Description

@sbc100

Emscripten doesn't generally support signal, and in particular there are no support for multiple processes.

However signals send and received with a single program, and between threads, should be possible, and least in most cases. The only situation we most likely will not be able to support is the interrupting of a busy-looping thread.

See #14883 for an initial PR that begins this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions