Scopira
20080306
|
#include <thread_pthreads.h>
Public Member Functions | |
const_area_ptr (const shared_area< T > &ref) | |
const_area_ptr (const rw_area< T > &ref) | |
const T * | get (void) |
members | |
const T & | operator* (void) |
pointer behaviour | |
const T * | operator-> (void) |
pointer behaviour | |
void | reset (void) |
const_area_ptr (const shared_area< T > &ref) | |
const_area_ptr (const rw_area< T > &ref) | |
const T * | get (void) |
members | |
const T & | operator* (void) |
pointer behaviour | |
const T * | operator-> (void) |
pointer behaviour | |
void | reset (void) |
Protected Member Functions | |
const_area_ptr (const volatile T &ref) | |
const_area_ptr (const volatile T &ref) | |
Protected Attributes | |
const T * | dm_ptr |
This is the basis for all locking pointer contructs. This version simply converts the volatile structure to a non volatile one.
Descendants do an addition lock/unlock operation, useful for concurent programming.
This version provices const access, useful for read_locker_ptr.
|
inline |
Public ctor, for shared_area.
|
inline |
Public ctor, for rw_area.
|
inlineprotected |
Inheritance ctor.
|
inline |
Public ctor, for shared_area.
|
inline |
Public ctor, for rw_area.
|
inlineprotected |
Inheritance ctor.
|
inline |
reassigns the pointer. this should be called, perhaps, after getting a notifiction (ie. after a wait() call on the condition)
|
inline |
reassigns the pointer. this should be called, perhaps, after getting a notifiction (ie. after a wait() call on the condition)