#include <thread.h>
Public Methods | |
ThreadLock () | |
Create a process shared thread lock object. More... | |
virtual | ~ThreadLock () |
Destroy a process shared thread lock object. More... | |
void | ReadLock (void) |
Aquire a read lock for the current object. More... | |
void | WriteLock (void) |
Aquire a write lock for the current object. More... | |
bool | TryReadLock (void) |
Attempt read lock for current object. More... | |
bool | TryWriteLock (void) |
Attempt write lock for current object. More... | |
void | Unlock (void) |
Release any held locks. More... |
|
Create a process shared thread lock object.
|
|
Destroy a process shared thread lock object.
|
|
Aquire a read lock for the current object.
|
|
Attempt read lock for current object.
|
|
Attempt write lock for current object.
|
|
Release any held locks.
|
|
Aquire a write lock for the current object.
|