Itzam/C++
Created by Scott Robert Ladd at
Coyote Gulch Productions.
itzam::null_mutex Class Reference
A NULL mutual exclusion lock.
More...
#include <itzam_common.h>
Inheritance diagram for itzam::null_mutex:
List of all members.Public Member Functions
- virtual ~null_mutex ()
- Destructor.
- virtual void lock ()
- Lock a database.
- virtual void unlock ()
- Unlock a database.
Protected Member Functions
- virtual void sleep ()
- Yield to other processes.
Detailed Description
This lock does nothing; it exists for use by serial programs where there will be no resource contention.
Constructor & Destructor Documentation
| virtual itzam::null_mutex::~null_mutex |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
| virtual void itzam::null_mutex::lock |
( |
|
) |
[inline, virtual] |
|
|
|
Does nothing; in other words, this function merely returns, so it does not block access to a resource.
Implements itzam::mutex. |
| virtual void itzam::null_mutex::sleep |
( |
|
) |
[inline, protected, virtual] |
|
| virtual void itzam::null_mutex::unlock |
( |
|
) |
[inline, virtual] |
|
The documentation for this class was generated from the following file:
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.