#include <tnlThread.h>
Public Member Functions | |
ThreadStorage () | |
ThreadStorage constructor. | |
~ThreadStorage () | |
ThreadStorage destructor. | |
void * | get () |
returns the per-thread stored void pointer for this ThreadStorage. The default value is NULL. | |
void | set (void *data) |
sets the per-thread stored void pointer for this ThreadStorage object. | |
Private Attributes | |
pthread_key_t | mThreadKey |
|
ThreadStorage constructor.
|
|
ThreadStorage destructor.
|
|
returns the per-thread stored void pointer for this ThreadStorage. The default value is NULL.
|
|
sets the per-thread stored void pointer for this ThreadStorage object.
|
|
|