Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6192552
Votes 0
Synopsis Deques
Category java:classes_util_concurrent
Reported Against
Release Fixed mustang(b51)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 09-NOV-2004
Description
A DESCRIPTION OF THE REQUEST :
java.util.concurrent needs a BlockingDeque  implementation of BlockingQueue<E>.

JUSTIFICATION :
See posting from Doug Lea:
http://altair.cs.oswego.edu/pipermail/concurrency-interest/2004-November/001101.html

The jsr166x Deque interface and its implementations should be extended
to BlockingDeque to support blocking LIFO usages. In the mean time,
you might want to use the simple LinkedBlockingStack class that I had
once written as a classroom example of using ReentrantLock and
Condition.  It is not generally useful enough to be part of
java.util.concurrent, but you can get it from my miscellaneous code
page: http://gee.cs.oswego.edu/dl/code/ . You can use it in an
Executor by instantiating and sending in one of the messy
multiparameter ThreadPoolExecutor constructors.

-Doug
  xxxxx@xxxxx   2004-11-09 03:50:00 GMT
Work Around
N/A
Evaluation
Yes
  xxxxx@xxxxx   2004-11-15 23:42:57 GMT
This RFE covers the addition of:
- Deque interface
- ArrayDeque implementation
- BlockingDeque interface
- LinkedBlockingDeque implementation
- LinkedList retrofit
Posted Date : 2005-08-18 06:25:43.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang