Shadowrun: Awakened 29 September 2011 - Build 871
Namespaces | Defines | Functions
Atomic.hpp File Reference
#include <cat/Platform.hpp>
Include dependency graph for Atomic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cat
namespace  cat::Atomic

Defines

#define CAT_NO_ATOMIC_ADD
#define CAT_NO_ATOMIC_BTR
#define CAT_NO_ATOMIC_BTS
#define CAT_NO_ATOMIC_CAS2
#define CAT_NO_ATOMIC_SET

Functions

CAT_INLINE u32 cat::Atomic::Add (volatile u32 *x, s32 y)
CAT_INLINE bool cat::Atomic::BTR (volatile u32 *x, int bit)
CAT_INLINE bool cat::Atomic::BTS (volatile u32 *x, int bit)
CAT_INLINE bool cat::Atomic::CAS2 (volatile void *x, const void *expected_old_value, const void *new_value)
CAT_INLINE u32 cat::Atomic::Set (volatile u32 *x, u32 new_value)

Define Documentation

#define CAT_NO_ATOMIC_ADD
#define CAT_NO_ATOMIC_BTR
#define CAT_NO_ATOMIC_BTS
#define CAT_NO_ATOMIC_CAS2
#define CAT_NO_ATOMIC_SET

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net