Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MutexDummyImpl Class Reference

A fake mutex implementation for single-threaded applications that don't need any synchronization control. More...

#include <mutexDummyImpl.h>

List of all members.

Public Member Functions

 MutexDummyImpl ()
 ~MutexDummyImpl ()
void lock ()
void release ()

Private Attributes

int _lock_count


Detailed Description

A fake mutex implementation for single-threaded applications that don't need any synchronization control.

This does nothing but assert that the same process does not try to grab the mutex twice.

Definition at line 45 of file mutexDummyImpl.h.


Constructor & Destructor Documentation

MutexDummyImpl::MutexDummyImpl  )  [inline]
 

Definition at line 31 of file mutexDummyImpl.I.

References _lock_count, INLINE, and nassertv.

MutexDummyImpl::~MutexDummyImpl  )  [inline]
 

Definition at line 45 of file mutexDummyImpl.I.

References _lock_count, INLINE, and nassertv.


Member Function Documentation

void MutexDummyImpl::lock  )  [inline]
 

Definition at line 58 of file mutexDummyImpl.I.

References _lock_count, INLINE, and nassertv.

void MutexDummyImpl::release  )  [inline]
 

Definition at line 74 of file mutexDummyImpl.I.


Member Data Documentation

int MutexDummyImpl::_lock_count [private]
 

Definition at line 55 of file mutexDummyImpl.h.

Referenced by lock(), MutexDummyImpl(), and ~MutexDummyImpl().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:52:30 2003 for Panda by doxygen1.3