< prev index next >

src/java.base/share/classes/java/lang/InheritableThreadLocal.java

Print this page

        

*** 50,59 **** --- 50,64 ---- * @since 1.2 */ public class InheritableThreadLocal<T> extends ThreadLocal<T> { /** + * Creates an inheritable thread local variable. + */ + public InheritableThreadLocal() {} + + /** * Computes the child's initial value for this inheritable thread-local * variable as a function of the parent's value at the time the child * thread is created. This method is called from within the parent * thread before the child is started. * <p>
< prev index next >