|
Kyoto Cabinet
|
Key of thread specific data. More...
#include <kcthread.h>
Public Member Functions | |
| TSDKey () | |
| Default constructor. | |
| TSDKey (void(*dstr)(void *)) | |
| Constructor. | |
| ~TSDKey () | |
| Destructor. | |
| void | set (void *ptr) |
| Set the value. | |
| void * | get () const |
| Get the value. | |
Key of thread specific data.
| kyotocabinet::TSDKey::TSDKey | ( | ) | [explicit] |
Default constructor.
| kyotocabinet::TSDKey::TSDKey | ( | void(*)(void *) | dstr | ) | [explicit] |
Constructor.
| dstr | the destructor for the value. |
Destructor.
| void kyotocabinet::TSDKey::set | ( | void * | ptr | ) |
Set the value.
| ptr | an arbitrary pointer. |
| void* kyotocabinet::TSDKey::get | ( | ) | const |
Get the value.
1.7.6.1