|
Click
|
#include <multithread.hh>
Public Member Functions | |
| __rwlock (V v) | |
| V * | operator-> () |
| V & | operator* () |
Public Member Functions inherited from RWLock | |
| void | read_begin () |
| void | read_end () |
| void | read_get () |
| void | write_begin () |
| bool | write_attempt () |
| void | write_get () |
| void | write_end () |
| void | write_to_read () |
| bool | read_to_write () |
| uint32_t | refcnt () |
Public Attributes | |
| V | _v |
A template to protect an object with RWLock.