TNL::ThreadStorage class Reference
TNL::ThreadStorage Class Reference
#include <tnlThread.h>
Detailed Description
Platform independent per-thread storage class.
Constructor & Destructor Documentation
TNL::ThreadStorage::ThreadStorage |
( |
|
) |
|
|
Member Function Documentation
void* TNL::ThreadStorage::get |
( |
|
) |
|
|
|
returns the per-thread stored void pointer for this ThreadStorage. The default value is NULL.
|
void TNL::ThreadStorage::set |
( |
void * |
data |
) |
|
|
|
sets the per-thread stored void pointer for this ThreadStorage object.
|
Field Documentation