![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
Classes | |
| class | Node |
| class | Ptr |
| class | Queue |
Functions | |
| template<class T > | |
| bool | CAS2 (Ptr< T > &destination, const Ptr< T > &expected, const Ptr< T > &replacement) |
| bool cat::FIFO::CAS2 | ( | Ptr< T > & | destination, |
| const Ptr< T > & | expected, | ||
| const Ptr< T > & | replacement | ||
| ) | [inline] |
Definition at line 132 of file LocklessFIFO.hpp.
Referenced by cat::FIFO::Queue< T >::Dequeue(), and cat::FIFO::Queue< T >::Enqueue().
{
return Atomic::CAS2(&destination, &expected, &replacement);
}
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.