version 1.8, 2008/08/15 23:14:01
|
version 1.9, 2008/08/21 17:51:31
|
|
|
| |
~ReadWriteSem(); | ~ReadWriteSem(); |
| |
// @exception Permission |
|
// @exception WaitFailed | // @exception WaitFailed |
inline void wait_read(ThreadType caller) | inline void wait_read(ThreadType caller) |
{ | { |
_wait(false, caller); | _wait(false, caller); |
} | } |
| |
// @exception Permission |
|
// @exception WaitFailed | // @exception WaitFailed |
inline void wait_write(ThreadType caller) | inline void wait_write(ThreadType caller) |
{ | { |
|
|
int write_count() const; | int write_count() const; |
| |
private: | private: |
// @exception Permission |
|
// @exception WaitFailed | // @exception WaitFailed |
void _wait(Boolean writeLock, ThreadType caller); | void _wait(Boolean writeLock, ThreadType caller); |
| |