critical_section Struct Template Reference
[Synchronisation Library]

#include <stlsoft/synch/concepts.hpp>

Inheritance diagram for critical_section:

critical_section_tag

List of all members.


Detailed Description

template<int R, int T>
struct stlsoft::critical_section< R, T >

Concept tag class that denotes that an object may be utilised to serialise access to a critical section of code.

Parameters:
R Integral value indicating whether the object is recursive
T Integral value indicating whether the object supports the try_lock() operation.

Public Types

enum  { is_recursive = R }
enum  { is_tryable = T }
typedef value_to_yesno_type
< is_recursive >::type 
is_recursive_type
 Type the indicates whether the deriving type.
typedef value_to_yesno_type
< is_tryable >::type 
is_tryable_type

Member Typedef Documentation

typedef value_to_yesno_type<is_recursive>::type is_recursive_type

Type the indicates whether the deriving type.


The documentation for this struct was generated from the following file:

Generated on Thu Jun 10 08:59:01 2010 for STLSoft by  doxygen 1.5.6