ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadFactory.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadFactory.java (file contents):
Revision 1.6 by dl, Sat Dec 27 19:26:26 2003 UTC vs.
Revision 1.7 by jsr166, Mon May 2 18:38:53 2005 UTC

# Line 11 | Line 11 | package java.util.concurrent;
11   * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread},
12   * enabling applications to use special thread subclasses, priorities, etc.
13   *
14 < * <p>
14 > * <p>
15   * The simplest implementation of this interface is just:
16   * <pre>
17   * class SimpleThreadFactory implements ThreadFactory {
# Line 23 | Line 23 | package java.util.concurrent;
23   *
24   * The {@link Executors#defaultThreadFactory} method provides a more
25   * useful simple implementation, that sets the created thread context
26 < * to known values before returning it.
26 > * to known values before returning it.
27   * @since 1.5
28   * @author Doug Lea
29   */
30 < public interface ThreadFactory {
30 > public interface ThreadFactory {
31  
32      /**
33       * Constructs a new <tt>Thread</tt>.  Implementations may also initialize

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines