Is there any implementation of blocking queue which guarantees fair take() operation if multiple consumers are removing element from the same queue. I checked LinkedBlockingQueue, LinkedTransferQueue and looks like both of them are unfair. ArrayBlockingQueue provides fair operation but its bounded.
                +2 
                A: 
                
                
              Fairness policy may be specified for SynchronousQueue:
a queue constructed with fairness set to true grants threads access in FIFO order
                  Vasil Remeniuk
                   2010-10-28 20:27:25
                
              Looking at the javadoc for that class it makes me laugh.  For instance clear does nothing
                  Woot4Moo
                   2010-10-28 20:45:24
                @Woot4Moo you clearly (pun unintended) don't understand how that class works – it has no capacity at all so it can't be cleared.
                  Jed Wesley-Smith
                   2010-10-29 00:41:39
                @Jed you clearly don't find the humor in documenting something that does nothing.
                  Woot4Moo
                   2010-10-29 00:53:44