diff --git a/Include/auROXTL/auAtomic.hpp b/Include/auROXTL/auAtomic.hpp index d461443..eb99733 100644 --- a/Include/auROXTL/auAtomic.hpp +++ b/Include/auROXTL/auAtomic.hpp @@ -448,16 +448,44 @@ bool AuAtomicTestAndSet(T *in, AuUInt8 offset) template auline -T AuAtomicSet(volatile T *in, AuUInt8 offset) +T AuAtomicOrSetBit(volatile T *in, AuUInt8 offset) { - return AuAtomicUtils::Set((T *)(in), offset); + return AuAtomicOrSetBit((T *)in, offset); +} + +template +auline +bool AuAtomicSet(volatile T *in, AuUInt8 offset) +{ + return AuAtomicSet((T *)in, offset); +} + +template +auline +T AuAtomicAndUnsetBit(volatile T *in, AuUInt8 offset) +{ + return AuAtomicAndUnsetBit((T *)in, offset); +} + +template +auline +bool AuAtomicUnset(volatile T *in, AuUInt8 offset) +{ + return AuAtomicUnset((T *)in, offset); } template auline T AuAtomicOr(volatile T *in, T value) { - return AuAtomicUtils::Or((T *)(in), value); + return AuAtomicOr((T *)in, value); +} + +template +auline +T AuAtomicAnd(volatile T *in, T value) +{ + return AuAtomicAnd((T *)in, value); } template