CMS 3D CMS Logo

Public Types | Static Public Member Functions

ThreadTraits< M > Struct Template Reference

#include <MutexUtils.h>

List of all members.

Public Types

typedef M Mutex

Static Public Member Functions

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

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 *  ) [inline, static]

a static safe class level mutex...

Definition at line 83 of file MutexUtils.h.

                                                      {
    static Mutex locm;
    return locm;
  }