When i wrote my answer to this question, I did not realise how a BlockingQueue
worked. I was going to sort it out back then, but forgot. Until now.
Now it is obvious to me, that in the context of the question, my answer is flawed. So should I improve my answer with an edit, or create a new more precise answer?
I found this on meta, but in that question we are talking about improving an answer. In my case i think the accepted answer is incorrect. I did not manage to find any guidelines for this.