File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1749,6 +1749,7 @@ private void joinThreads() {
1749
1749
// running any GraalPython code anymore
1750
1750
int tries = isOurThread ? 100 : 5 ;
1751
1751
for (int i = 0 ; i < tries && thread .isAlive (); i ++) {
1752
+ thread .join (tries - i );
1752
1753
env .submitThreadLocal (new Thread []{thread }, new ThreadLocalAction (true , false ) {
1753
1754
@ Override
1754
1755
protected void perform (ThreadLocalAction .Access access ) {
@@ -1758,7 +1759,6 @@ protected void perform(ThreadLocalAction.Access access) {
1758
1759
if (isOurThread ) {
1759
1760
thread .interrupt ();
1760
1761
}
1761
- thread .join (2 );
1762
1762
}
1763
1763
if (isOurThread ) {
1764
1764
// Thread#stop is not supported on SVM
You can’t perform that action at this time.
0 commit comments