#include <at_atomic.h>
Inheritance diagram for at::AtomicExchange_Ptr< w_type >:

Public Methods | |
| AtomicExchange_Ptr (w_type i_init_val) | |
| AtomicExchange_Ptr () | |
| w_type | Get () const |
| w_type | Exchange (w_type i_val) |
| w_type | CompareExchange (w_type i_val, w_type i_compare) |
|
||||||||||
|
AtomicExchange_Ptr contructor takes a w_type to initialize this.
|
|
|||||||||
|
|
|
||||||||||||||||
|
CompareExchange will swap the contents of this object with the passed in using the architecture specific atomic compare exchange mechanisms. This tests that the current value compares equal to i_compare before performing the exchange.
|
|
||||||||||
|
Exchange will swap the contents of this object with the one passed in using the architecture specific atomic exchange mechanisms.
|
|
|||||||||
|
Get will return the value of the pointer
|
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004