Scopira
20080306
|
#include <thread_pthreads.h>
Public Member Functions | |
area_ptr (const shared_area< T > &ref) | |
area_ptr (const rw_area< T > &ref) | |
T * | get (void) |
members | |
T & | operator* (void) |
pointer behaviour | |
T * | operator-> (void) |
pointer behaviour | |
void | reset (void) |
area_ptr (const shared_area< T > &ref) | |
area_ptr (const rw_area< T > &ref) | |
T * | get (void) |
members | |
T & | operator* (void) |
pointer behaviour | |
T * | operator-> (void) |
pointer behaviour | |
void | reset (void) |
Protected Member Functions | |
area_ptr (const volatile T &ref) | |
area_ptr (const volatile T &ref) | |
Protected Attributes | |
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 you'd use if you were sure the are you wanted was already under a locking_ptr scope.
|
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)