diff options
Diffstat (limited to 'ACE/ace/Atomic_Op_GCC_T.h')
-rw-r--r-- | ACE/ace/Atomic_Op_GCC_T.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ACE/ace/Atomic_Op_GCC_T.h b/ACE/ace/Atomic_Op_GCC_T.h index 348be5e95e0..a8dfc2b641a 100644 --- a/ACE/ace/Atomic_Op_GCC_T.h +++ b/ACE/ace/Atomic_Op_GCC_T.h @@ -74,6 +74,9 @@ public: /// Atomically check if @c value_ less than rhs. bool operator< (T rhs) const; + /// Exchange value with @a newval. + T exchange (T newval); + /// Explicitly return @c value_. T value (void) const; |