nux-1.16.0
nux::NThreadLocalStorage Class Reference

List of all members.

Public Types

enum  { NbTLS = 128, InvalidTLS = 0xFFFFFFFF }
typedef void(* TLS_ShutdownCallback )()

Static Public Member Functions

static void Initialize ()
static void Shutdown ()
static BOOL RegisterTLS (t_u32 index, TLS_ShutdownCallback shutdownCallback)
static BOOL UnRegisterTLS (unsigned int index)
static void ThreadInit ()
static void ThreadShutdown ()
template<class T >
static T GetData (t_u32 index)
template<class T >
static void SetData (t_u32 index, T value)

Static Public Attributes

static BOOL m_TLSUsed [NbTLS]
static __thread void * m_TLSIndex [NbTLS]
static TLS_ShutdownCallback m_TLSCallbacks [NbTLS]

Detailed Description

Definition at line 180 of file ThreadGNU.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends