# | Line 72 | Line 72 | public class MultipleProducersSingleCons | |
---|---|---|
72 | oneRun(new SynchronousQueue<Integer>(), producers, iters); | |
73 | ||
74 | if (print) | |
75 | + | System.out.print("SynchronousQueue(fair) "); |
76 | + | oneRun(new SynchronousQueue<Integer>(true), producers, iters); |
77 | + | |
78 | + | if (print) |
79 | System.out.print("ArrayBlockingQueue(fair)"); | |
80 | oneRun(new ArrayBlockingQueue<Integer>(CAPACITY, true), producers, iters/10); | |
81 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |