#include <InheritableThreadLocal.h>
Inheritance diagram for ZThread::InheritableThreadLocal::
Public Methods | |
InheritableThreadLocal () throw () | |
virtual | ~InheritableThreadLocal () throw () |
Protected Methods | |
virtual void* | childValue (void *parentValue) throw () |
virtual bool | propogateValue () throw () |
|
Create a new InheritableThreadLocal object |
|
Destroy this InheritableThreadLocal object |
|
This method will be invoked by the framework when a child thread is created, if its parent has set a value for this key. This is invoked from the childs context, and will be passed the parents value.
Reimplemented from ZThread::AbstractThreadLocal. |
|
Inform the framework this value does propogate to child threads
Reimplemented from ZThread::ThreadLocal. |