On 27/09/18 14:28, Daniel Fuchs wrote:
Hi Chris,

Good finding!

I agree with the principle, but I think that strictly speaking
it would be more correct if the server's workers ArrayList was
changed into a ConcurrentLinkedQueue.

The main could then poll the queue & join until it's empty
(or alternatively use forEach)

Good suggestion. Done.

http://cr.openjdk.java.net/~chegar/8211092.02/

-Chris.

Reply via email to