ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/intro.html
Revision: 1.7
Committed: Tue Jul 8 00:46:24 2003 UTC (20 years, 10 months ago) by dl
Content type: text/html
Branch: MAIN
Changes since 1.6: +12 -141 lines
Log Message:
Locks in subpackage; fairness params added

File Contents

# User Rev Content
1 tim 1.1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2     <html>
3     <head>
4     <title>JSR 166 Snapshot Introduction.</title>
5     </head>
6    
7     <body bgcolor="#ffffee" vlink="#0000aa" link="#cc0000">
8     <h1>JSR 166 Snapshot Introduction.</h1>
9    
10     by <a href="http://gee.cs.oswego.edu/dl">Doug Lea</a>
11     <p>
12    
13     To join a mailing list discussing this JSR, go to:
14     <A HREF="http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest"> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest</A> .
15    
16     <p>
17     <em>
18     Disclaimer - This prototype is experimental code developed as part of
19 dl 1.3 JCP JSR166 and made available to the developer community for use
20 tim 1.1 as-is. It is not a supported product. Use it at your own risk. The
21     specification, language and implementation are subject to change as a
22     result of your feedback. Because these features have not yet been
23     approved for addition to the Java language, there is no schedule for
24     their inclusion in a product.
25     </em>
26    
27 dl 1.7 <p> JSR166 introduces package <tt>java.util.concurrent</tt> containing utility
28     classes commonly useful in concurrent programming. Like package
29     java.util, it includes a few small standardized extensible frameworks,
30     as well as some classes that provide useful functionality and are
31     otherwise tedious or difficult to implement. Descriptions of the main
32     components may be found in the associated package documentation.
33    
34     <p> JSR166 also includes a few changes and additions in packages
35     outside of java.util.concurrent: java.lang, to address uncaught
36     exceptions, and java.util to better integrate with collections. Here
37     are brief descriptions.
38 tim 1.1
39     <h2>Queues</h2>
40    
41 dl 1.3 A basic (nonblocking) {@link java.util.Queue} interface extending
42     java.util.Collection is introduced into java.util. Existing class
43     java.util.LinkedList is adapted to support Queue, and a new
44 dl 1.7 non-thread-safe {@link java.util.PriorityQueue} is added.
45 tim 1.1
46     <h2>Uncaught Exception Handlers</h2>
47    
48 dl 1.3 The java.lang.Thread class is modified to allow per-thread
49 tim 1.1 installation of handlers for uncaught exceptions. Ths optionally
50     disassociates these handlers from ThreadGroups, which has proven to be
51 dl 1.3 too inflexible in many multithreaded programs. (Note that the
52     combination of features in JSR166 make ThreadGroups even less likely
53     to be used in most programs. Perhaps they will eventually be
54     deprecated.)
55 dl 1.2
56 dl 1.3 <p> Additionally, java.lang.ThreadLocal now supports a means to remove
57     a ThreadLocal, which is needed in some thread-pool and worker-thread
58 dl 1.2 designs.
59 tim 1.1
60     <hr>
61     <address><A HREF="http://gee.cs.oswego.edu/dl">Doug Lea</A></address>
62     </body>
63     </html>