FastMutex Class Reference
#include <FastMutex.h>
Inheritance diagram for FastMutex:
Public Member Functions | |
FastMutex () | |
Create a FastMutex. | |
virtual | ~FastMutex () |
Destroy a FastMutex. | |
virtual void | acquire () |
virtual void | release () |
virtual bool | tryAcquire (unsigned long timeout) |
Detailed Description
- Author:
- Eric Crahen <http://www.code-foo.com>
- Date:
- <2003-07-19T18:45:39-0400>
- Version:
- 2.2.0
A FastMutex has the useful property of not being interruptable; that is to say that acquire() and tryAcquire() will not throw Interrupted_Exceptions.
- See also:
- Mutex
Scheduling is left to the operating systems and may vary.
Error Checking
No error checking is performed, this means there is the potential for deadlock.
Member Function Documentation
|
Acquire exclusive access to the mutex. The calling thread will block until the lock can be acquired. No safety or state checks are performed.
Implements Lockable. |
|
Release exclusive access. No safety or state checks are performed.
Implements Lockable. |
|
Try to acquire exclusive access to the mutex. The calling thread will block until the lock can be acquired. No safety or state checks are performed.
Implements Lockable. |
The documentation for this class was generated from the following file:
- FastMutex.h