#include <InheritableThreadLocal.h>
Inheritance diagram for InheritableThreadLocal:
Public Methods | |
InheritableThreadLocal () throw () | |
Create a new InheritableThreadLocal object. | |
virtual | ~InheritableThreadLocal () throw () |
Destroy this InheritableThreadLocal object. | |
Protected Methods | |
virtual void * | childValue (void *parentValue) const throw () |
virtual bool | propogateValue () const throw () |
The childValue() method allows subclasses to alter values for ThreadLocals that propogated from parent threads to thier children created.
|
This method will be invoked by the framework when a child thread is created. If there is a value associated with the parent thread and this object, then this method is invoked from the childs context, after an implicit call to initialValue().
Reimplemented from AbstractThreadLocal. |
|
Inform the framework this value does propogate to child threads
Reimplemented from AbstractThreadLocal. |