Skip to content

Commit

Permalink
Fiber refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme committed Oct 20, 2024
1 parent 9b26ec7 commit 7dce042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public void multithreadingTest() throws InterruptedException, IOException {
final CountDownLatch ready = new CountDownLatch(numThreads);
final CountDownLatch finished = new CountDownLatch(numThreads);

ExecutorService executorService = Executors.newFixedThreadPool(numThreads);
ExecutorService executorService = Executors.newVirtualThreadPerTaskExecutor();

for (int i = 0; i < numThreads; i++) {
final int ti = i;
Expand Down

0 comments on commit 7dce042

Please sign in to comment.