Skip to content

Commit

Permalink
[GR-44867] [GR-45798] Use a synchronous ThreadLocalAction for killing…
Browse files Browse the repository at this point in the history
… other threads

PullRequest: truffleruby/3795
  • Loading branch information
eregon committed Apr 25, 2023
2 parents 1d46c68 + 5444848 commit 10feed7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ private void doKillOtherThreads() {

context.getSafepointManager().pauseAllThreadsAndExecute(
DummyNode.INSTANCE,
new SafepointAction("kill other threads for shutdown", predicate, true, false) {
new SafepointAction("kill other threads for shutdown", predicate, true, true) {
@Override
public void run(RubyThread rubyThread, Node currentNode) {
rubyThread.status = ThreadStatus.ABORTING;
Expand Down

0 comments on commit 10feed7

Please sign in to comment.