![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXThread.h>
Public Member Functions | |
FXAutoThreadStorageKey () | |
operator FXThreadStorageKey () const | |
~FXAutoThreadStorageKey () |
This class manages a thread-local storage key, generating a new one when constructed, and deleting the storage key when destroyed. These keys can be used just like FXThreadStorageKey itself by virtue of the conversion operator. Note that no assignment or copy-constructors have been defined; thus each instance of this class represents a unique thread-local storage key.
FX::FXAutoThreadStorageKey::FXAutoThreadStorageKey | ( | ) |
Acquire a unique thread-local storage key.
FX::FXAutoThreadStorageKey::~FXAutoThreadStorageKey | ( | ) |
Release thread-local storage key.
FX::FXAutoThreadStorageKey::operator FXThreadStorageKey | ( | ) | const [inline] |
Return the thread-local storage key.
![]() |