Simbody  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ThreadLocal.h File Reference

Go to the source code of this file.

Classes

class  SimTK::ThreadLocal< T >
 This class represents a "thread local" variable: one which has a different value on each thread. More...
 

Namespaces

 SimTK
 This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.
 

Functions

template<class T >
static void SimTK::cleanUpThreadLocalStorage (void *value)
 

Variables

static std::map< void
*, pthread_key_t > 
SimTK::instanceMap
 
static std::map< pthread_key_t,
std::set< void * > > 
SimTK::keyInstances
 
static pthread_mutex_t SimTK::keyLock = PTHREAD_MUTEX_INITIALIZER