Lockable Class Reference
#include <Lockable.h>
Inheritance diagram for Lockable:
Public Member Functions | |
virtual | ~Lockable () |
Destroy a Lockable object. | |
virtual void | acquire ()=0 |
virtual bool | tryAcquire (unsigned long timeout)=0 |
virtual void | release ()=0 |
Detailed Description
- Author:
- Eric Crahen <http://www.code-foo.com>
- Date:
- <2003-07-16T10:33:32-0400>
- Version:
- 2.3.0
Member Function Documentation
|
Acquire the Lockable object. This method may or may not block the caller for an indefinite amount of time. Those details are defined by specializations of this class.
Implemented in BlockingQueue, BoundedQueue, ClassLockable, CountingSemaphore, FastMutex, FastRecursiveMutex, MonitoredQueue, Mutex, PriorityInheritanceMutex, PriorityMutex, PrioritySemaphore, RecursiveMutex, and Semaphore. |
|
Release the Lockable object. This method may or may not block the caller for an indefinite amount of time. Those details are defined by specializations of this class.
Implemented in BlockingQueue, BoundedQueue, ClassLockable, CountingSemaphore, FastMutex, FastRecursiveMutex, MonitoredQueue, Mutex, PriorityInheritanceMutex, PriorityMutex, PrioritySemaphore, RecursiveMutex, and Semaphore. |
|
Attempt to acquire the Lockable object. This method may or may not block the caller for a definite amount of time. Those details are defined by specializations of this class; however, this method includes a timeout value that can be used to limit the maximum amount of time that a specialization could block.
Implemented in BlockingQueue, BoundedQueue, ClassLockable, CountingSemaphore, FastMutex, FastRecursiveMutex, MonitoredQueue, Mutex, PriorityInheritanceMutex, PriorityMutex, PrioritySemaphore, RecursiveMutex, and Semaphore. |
The documentation for this class was generated from the following file:
- Lockable.h