Skip to content

Truffle: Kill all other threads when the main thread exits #2165

@chrisseaton

Description

@chrisseaton

Truffle currently has Java semantics where if the main thread exits, other threads just continue to run. We need the Ruby semantics where the main thread exiting will kill other threads. See the implementation of Thread#kill (in the ThreadNodes class) for a way to do this without any overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions