File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/thread Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -688,11 +688,11 @@ private static class DetachAllExternallyStartedThreadsExceptCurrentOperation ext
688688
689689 @ Override
690690 protected void operate () {
691- IsolateThread currentThread = CurrentIsolate .getCurrentThread ();
691+ IsolateThread operationThread = CurrentIsolate .getCurrentThread ();
692692 IsolateThread thread = firstThread ();
693693 while (thread .isNonNull ()) {
694694 IsolateThread next = nextThread (thread );
695- if (thread .notEqual (currentThread ) && !wasStartedByCurrentIsolate (thread )) {
695+ if (thread .notEqual (queuingThread ) && thread . notEqual ( operationThread ) && !wasStartedByCurrentIsolate (thread )) {
696696 /*
697697 * The code below is similar to VMThreads.detachCurrentThread() except that it
698698 * doesn't call VMThreads.threadExit(). We assume that this is tolerable
You can’t perform that action at this time.
0 commit comments