|
Click
|
#include <multithread.hh>
Public Types | |
| typedef ptr | write_ptr |
Public Member Functions | |
| not_shared (T p) | |
| ptr | operator-> () |
| ptr | read () |
| ptr | write () |
| void | get (ptr &o) |
| T * | unprotected_ptr () |
| bool | unshared () |
| bool | write_held () |
| bool | hasref () |
Wrapper class to easily build a non-RW protected equivalent of shared