Abstraction of a lock. The concept of lock is used to protect shared resource from simultaneous access by multiple threads or processes. More...
Abstraction of a lock. The concept of lock is used to protect shared resource from simultaneous access by multiple threads or processes.
Inheritance diagram for ILockable:Public Member Methods | |
| virtual void | Lock ()=0 |
| Locks this object. More... | |
| virtual void | Unlock ()=0 |
| Unlocks this object. More... | |
|
pure virtual |
Locks this object.
Implemented in Mutex, CriticalSection, and BasePersistent.
|
pure virtual |
Unlocks this object.
Implemented in Mutex, CriticalSection, and BasePersistent.