[concurrency-interest] ConcurrentLinkedQueue implementation

Martin Buchholz martinrb at google.com
Mon Apr 27 10:43:32 EDT 2009


LinkedList is a Deque, but ConcurrentLinkedQueue intentionally is not.
You could try LinkedBlockingDeque instead.

Martin

On Mon, Apr 27, 2009 at 06:58, Vishal Byakod <vishal.byakod at gmail.com> wrote:
> Hi,
>
> I want to replace java.util.LinkedList with the ConcurrentLinkedQueue
> implementation, but am not sure what to use for LinkedList.addFirst()
> and LinkedList removeFirst(). ConcurrentLinkedQueue does’nt seem to
> have equivalent API’s.
>
> Can anyone suggest what other options I have.
>
> Thanks
> Vishal
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>



More information about the Concurrency-interest mailing list