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

Comparing jsr166/src/main/java/util/concurrent/Executors.java (file contents):
Revision 1.84 by jsr166, Mon Feb 11 07:59:02 2013 UTC vs.
Revision 1.85 by jsr166, Mon Feb 11 08:43:48 2013 UTC

# Line 344 | Line 344 | public class Executors {
344       * java.lang.InheritableThreadLocal} values. If necessary,
345       * particular values of thread locals can be set or reset before
346       * any task runs in {@link ThreadPoolExecutor} subclasses using
347 <     * {@link ThreadPoolExecutor#beforeExecute}. Also, if it is
348 <     * necessary to initialize worker threads to have the same
349 <     * InheritableThreadLocal settings as some other designated
350 <     * thread, you can create a custom ThreadFactory in which that
351 <     * thread waits for and services requests to create others that
352 <     * will inherit its values.
347 >     * {@link ThreadPoolExecutor#beforeExecute(Thread, Runnable)}.
348 >     * Also, if it is necessary to initialize worker threads to have
349 >     * the same InheritableThreadLocal settings as some other
350 >     * designated thread, you can create a custom ThreadFactory in
351 >     * which that thread waits for and services requests to create
352 >     * others that will inherit its values.
353       *
354       * @return a thread factory
355       * @throws AccessControlException if the current access control

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines