Skip to content

Commit 10feed7

Browse files
committed
[GR-44867] [GR-45798] Use a synchronous ThreadLocalAction for killing other threads
PullRequest: truffleruby/3795
2 parents 1d46c68 + 5444848 commit 10feed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/core/thread/ThreadManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ private void doKillOtherThreads() {
684684

685685
context.getSafepointManager().pauseAllThreadsAndExecute(
686686
DummyNode.INSTANCE,
687-
new SafepointAction("kill other threads for shutdown", predicate, true, false) {
687+
new SafepointAction("kill other threads for shutdown", predicate, true, true) {
688688
@Override
689689
public void run(RubyThread rubyThread, Node currentNode) {
690690
rubyThread.status = ThreadStatus.ABORTING;

0 commit comments

Comments
 (0)