CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions
ThreadTraits< M > Struct Template Reference

#include <MutexUtils.h>

Public Types

typedef M Mutex
 

Static Public Member Functions

template<class T >
static MutexmyMutex (const T *)
 a static safe class level mutex... More...
 

Detailed Description

template<class M = boost::recursive_mutex>
struct ThreadTraits< M >

Definition at line 78 of file MutexUtils.h.

Member Typedef Documentation

template<class M = boost::recursive_mutex>
typedef M ThreadTraits< M >::Mutex

Definition at line 80 of file MutexUtils.h.

Member Function Documentation

template<class M = boost::recursive_mutex>
template<class T >
static Mutex& ThreadTraits< M >::myMutex ( const T )
inlinestatic

a static safe class level mutex...

Definition at line 83 of file MutexUtils.h.

83  {
84  static Mutex locm;
85  return locm;
86  }