Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed May 10, 2023
1 parent 8305995 commit 968c8ac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ final void invokeAll(Collection<? extends Runnable> tasks) {
}

boolean shouldExecuteOnCallerThread(int index, int numTasks) {
//Execute last task on caller thread
return index == numTasks - 1;
}
}

0 comments on commit 968c8ac

Please sign in to comment.