NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CUsedTlsBases Class Reference

Search Toolkit Book for CUsedTlsBases

#include <corelib/ncbithr.hpp>

+ Collaboration diagram for CUsedTlsBases:

Public Member Functions

 CUsedTlsBases (void)
 ~CUsedTlsBases (void)
void ClearAll (CTlsBase::ECleanupMode mode=CTlsBase::eCleanup_Toolkit)
 The function is called before thread termination to cleanup data stored in the TLS. More...
void Register (CTlsBase *tls)
void Deregister (CTlsBase *tls)

Static Public Member Functions

static CUsedTlsBasesGetUsedTlsBases (void)
 Get the list of used TLS-es for the current thread. More...
static void ClearAllCurrentThread (CTlsBase::ECleanupMode mode=CTlsBase::eCleanup_Toolkit)
 Clear used TLS-es for the current thread. More...
static void Init (void)
 Init TLS, call before creating thread. More...

Private Types

typedef set< CTlsBase * > TTlsSet

Private Member Functions

 CUsedTlsBases (const CUsedTlsBases &)
void operator= (const CUsedTlsBases &)

Private Attributes

TTlsSet m_UsedTls

Static Private Attributes

static CStaticTls< CUsedTlsBasessm_UsedTlsBases

Detailed Description

Definition at line 483 of file ncbithr.hpp.

The documentation for this class was generated from the following files:
Modified on Fri May 24 14:52:09 2024 by rev. 669887