Thread local storage for shutdown callback. More...
Public Attributes | |
TLSShutdownProc | m_pShutdown |
Callback to issue when this entry is released. | |
void * | m_pThis |
"this" pointer to pass as parameter for m_pShutdown | |
Thread local storage for shutdown callback.
Every thread has memory assigned to each thread that contains a "this" pointer and a callback function. If the function is set to nullptr, no callback is issued. Otherwise, when the thread is shutdown, the function will be called to handle any sort of memory or resource cleanup needed for thread release.
TLSShutdownProc Burger::ThreadLocalStorageEntry_t::m_pShutdown |
Callback to issue when this entry is released.
void* Burger::ThreadLocalStorageEntry_t::m_pThis |
"this" pointer to pass as parameter for m_pShutdown