#include <thread.h>
Public Member Functions | |
| ThreadLock () | |
| Create a process shared thread lock object. | |
| virtual | ~ThreadLock () |
| Destroy a process shared thread lock object. | |
| void | readLock (void) |
| Aquire a read lock for the current object. | |
| void | writeLock (void) |
| Aquire a write lock for the current object. | |
| bool | tryReadLock (void) |
| Attempt read lock for current object. | |
| bool | tryWriteLock (void) |
| Attempt write lock for current object. | |
| void | unlock (void) |
| Release any held locks. | |
| ost::ThreadLock::ThreadLock | ( | ) |
Create a process shared thread lock object.
| virtual ost::ThreadLock::~ThreadLock | ( | ) | [virtual] |
Destroy a process shared thread lock object.
| void ost::ThreadLock::readLock | ( | void | ) |
Aquire a read lock for the current object.
| void ost::ThreadLock::writeLock | ( | void | ) |
Aquire a write lock for the current object.
| bool ost::ThreadLock::tryReadLock | ( | void | ) |
Attempt read lock for current object.
| bool ost::ThreadLock::tryWriteLock | ( | void | ) |
Attempt write lock for current object.
| void ost::ThreadLock::unlock | ( | void | ) |
Release any held locks.
1.5.4