ThreadLocalStorage.h File Reference

Thread local storage. More...

#include "LDK/API.h"
#include "LDK/Types.h"

Include dependency graph for ThreadLocalStorage.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ThreadLocal< T >

Typedefs

typedef void(*) ThreadLocalDtor (void *)
 A pointer to a function used to free a piece of thread local storage.
typedef size_t TLSKey
 A key used to access thread local storage.

Functions

LDK_TLS_API TLSKey threadLocalCreateKey (ThreadLocalDtor dtor=NULL)
 Create a key for thread local storage.
LDK_TLS_API void threadLocalSet (TLSKey key, void *object)
 Associate an object with a key for the current thread.
LDK_TLS_API void * threadLocalGet (TLSKey key)
 Get the object associated with key for the current thread.


Detailed Description

Definition in file ThreadLocalStorage.h.


Generated on Fri Aug 17 18:32:26 2007 for LDK by  doxygen 1.5.1