35#ifndef CARTOBASE_ZOOLIB_ATOMICCOUNT_H
36#define CARTOBASE_ZOOLIB_ATOMICCOUNT_H
39#if defined( ZCONFIG_Compiler ) && defined( ZCONFIG_OS ) \
40 && defined( ZCONFIG_Processor )
53 explicit atomic_count(
long v)
73 atomic_count & operator=(
long v)
80 atomic_count(atomic_count
const &);
81 atomic_count & operator=(atomic_count
const &);
83 mutable ZAtomic_t value_;
89#define CARTO_RCPTR_USE_ZOOLIB
int ZAtomic_Get(const ZAtomic_t *inValueAddress)
void ZAtomic_Inc(ZAtomic_t *inValueAddress)
bool ZAtomic_DecAndTest(ZAtomic_t *inValueAddress)
int ZAtomic_Set(register ZAtomic_t *inValueAddress, int inParam)