#include <cas.h>
Inheritance diagram for rpa::cas1_mutex< Iter, Mutex >:

Static Public Member Functions | |
| static bool | cas (typename atomic< Iter >::atomic_type *ItPtr, Iter ItOld, Iter ItNew) |
Static Public Attributes | |
| static Mutex | sttMtx |
May seem odd because the goal of 'compare_and_swap' operations is to avoid mutexes by having atomic operations. But, when an architecture does not implement this kind of atomic operation, this class implements it with a mutex whose type can be arbitrarily chosen.
| static bool rpa::cas1_mutex< Iter, Mutex >::cas | ( | typename atomic< Iter >::atomic_type * | ItPtr, | |
| Iter | ItOld, | |||
| Iter | ItNew | |||
| ) | [inline, static] |
Mutex rpa::cas1_mutex< Iter, Mutex >::sttMtx [static] |
1.4.7