FastRecursiveMutex Class Reference
#include <FastRecursiveMutex.h>
Inheritance diagram for FastRecursiveMutex:
Public Member Functions | |
FastRecursiveMutex () | |
Create a new FastRecursiveMutex. | |
virtual | ~FastRecursiveMutex () |
Destroy this FastRecursiveMutex. | |
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-19T19:00:25-0400>
- Version:
- 2.2.0
A FastRecursiveMutex has the useful property of not being interruptable; that is to say that acquire() and tryAcquire() will not throw Interrupted_Exceptions.
- See also:
- RecursiveMutex
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. The calling thread may acquire the mutex nore than once.
Implements Lockable. |
|
Release 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. The calling thread may acquire the mutex more than once.
Implements Lockable. |
The documentation for this class was generated from the following file:
- FastRecursiveMutex.h