class ThreadLock
|
Posix rwlock extension for protected access.
More... |
|
|
Public Members
Detailed Description
The ThreadLock class impliments a thread rwlock for optimal reader performance
on systems which have rwlock support, and reverts to a simple mutex for those
that do not.
Create a process shared thread lock object.
Destroy a process shared thread lock object.
Aquire a read lock for the current object.
Aquire a write lock for the current object.
Attempt read lock for current object.
Returns: true on success.
Attempt write lock for current object.
Returns: true on success.
Release any held locks.
- Author: David Sugar <dyfet@ostel.com>
- Generated: dyfet@home.sys on Tue Apr 18 21:24:04 200.