Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Cole committed Aug 14, 2016
1 parent 6a37368 commit 7588694
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ public void multithreaded() throws Exception {
Collection<ListenableFuture<?>> futures = new ConcurrentLinkedDeque<>();
for (int i = 0; i < loopCount; i++) {
exec.execute(() -> {
latch.countDown();
futures.add(executor.maybeExecuteAsync(now.bind(), "foo"));
futures.add(executor.maybeExecuteAsync(now.bind(), "bar"));
latch.countDown();
});
}
latch.await();
Expand Down

0 comments on commit 7588694

Please sign in to comment.