sigx++  2.0.1
Data Structures | Namespaces | Constant Groups
choose_lock.h File Reference
#include <sigx/lockable_fwddecl.h>

Go to the source code of this file.

Data Structures

struct  sigx::choose_lock< T_mutex, I_policy >
 Metafunction that chooses an appropriate scoped lock for a mutex. More...
 

Namespaces

 sigx
 

Constant Groups

 sigx
 

Detailed Description

lock traits are used to choose the best lock type for a given mutex. E.g. For a mutex type boost::mutex lock type boost::mutex::scoped_lock is chosen