stlsoft/synch/concepts.hpp File Reference


Detailed Description

[C++ only] Synchronisation concept tags (Synchronisation Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/meta/yesno.hpp>

Go to the source code of this file.

Namespaces

namespace  stlsoft
namespace  stlsoft::concept_check

Classes

struct  synchronisable_object_tag
 Denotes that a deriving class is a synchronisation type. More...
struct  critical_section_tag
 Denotes that a deriving class can be used as a critical section, i.e. More...
struct  critical_section
 Concept tag class that denotes that an object may be utilised to serialise access to a critical section of code. More...

Defines

#define STLSOFT_CRITICAL_SECTION_IS_RECURSIVE   (1)
#define STLSOFT_CRITICAL_SECTION_ISNOT_RECURSIVE   (0)
#define STLSOFT_CRITICAL_SECTION_IS_TRYABLE   (1)
#define STLSOFT_CRITICAL_SECTION_ISNOT_TRYABLE   (0)

Functions

template<typename S>
void synch_conformance_synch_obj (S &s, synchronisable_object_tag const *)
template<typename S>
void synch_conformance_synch_obj (S &s,...)
template<typename S>
void synch_conformance_try_lock (S &s, yes_type)
template<typename S>
void synch_conformance_try_lock (S &s, no_type)
template<typename S>
void synch_conformance_recursive_lock (S &s, yes_type)
template<typename S>
void synch_conformance_recursive_lock (S &s, no_type)
template<typename S>
void synch_conformance_lock (S &s, critical_section_tag const *)
template<typename S>
void synch_conformance_lock (S &s,...)
template<typename S>
void synch_conformance (S &s)


Generated on Thu Jun 10 08:58:11 2010 for STLSoft by  doxygen 1.5.6