#include <xmltooling/util/Threads.h>
Public Member Functions | |
| virtual int | setData (void *data)=0 |
| Sets the value for a TLS key. | |
| virtual void * | getData () const =0 |
| Returns the value for a TLS key. | |
Static Public Member Functions | |
| static ThreadKey * | create (void(*destroy_fn)(void *)) |
| Creates a new TLS key. | |
| static ThreadKey* xmltooling::ThreadKey::create | ( | void(*)(void *) | destroy_fn | ) | [static] |
Creates a new TLS key.
| destroy_fn | a functon to cleanup key values |
| virtual void* xmltooling::ThreadKey::getData | ( | ) | const [pure virtual] |
Returns the value for a TLS key.
| virtual int xmltooling::ThreadKey::setData | ( | void * | data | ) | [pure virtual] |
Sets the value for a TLS key.
| data | the value to set |
1.4.7