#include <stlsoft/synch/singlethreaded_tss_index.hpp>
Public Types | |
Types | |
typedef singlethreaded_tss_index | class_type |
This class. | |
typedef void | key_type |
The type of the TSS key. | |
typedef void * | value_type |
The type of the slot values. | |
Public Member Functions | |
Construction | |
singlethreaded_tss_index () | |
Allocates a TSS key. | |
~singlethreaded_tss_index () throw () | |
Releases the TSS key. | |
Operations | |
void | set_value (value_type value) |
Sets the value in the slot for the current thread. | |
value_type | get_value () const |
Gets the value in the slot for the current thread. |
typedef singlethreaded_tss_index class_type |
This class.
typedef void key_type |
The type of the TSS key.
typedef void* value_type |
The type of the slot values.
singlethreaded_tss_index | ( | ) | [inline, explicit] |
Allocates a TSS key.
~singlethreaded_tss_index | ( | ) | throw () [inline] |
Releases the TSS key.
void set_value | ( | value_type | value | ) | [inline] |
Sets the value in the slot for the current thread.
value_type get_value | ( | ) | const [inline] |
Gets the value in the slot for the current thread.