null_mutex Class Reference
[Synchronisation Library]

#include <stlsoft/synch/null_mutex.hpp>

Inheritance diagram for null_mutex:

critical_section< STLSOFT_CRITICAL_SECTION_IS_RECURSIVE, STLSOFT_CRITICAL_SECTION_ISNOT_TRYABLE > critical_section_tag

List of all members.


Detailed Description

This class provides a null implementation of the mutex model.

Public Types

Member Types
typedef null_mutex class_type

Public Member Functions

Construction
 null_mutex () throw ()
 Creates an instance of the mutex.
Operations
void lock () throw ()
 Acquires a lock on the mutex, pending the thread until the lock is aquired.
void unlock () throw ()
 Releases an aquired lock on the mutex.

Constructor & Destructor Documentation

null_mutex (  )  throw () [inline]

Creates an instance of the mutex.


Member Function Documentation

void lock (  )  throw () [inline]

Acquires a lock on the mutex, pending the thread until the lock is aquired.

void unlock (  )  throw () [inline]

Releases an aquired lock on the mutex.


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

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