Пример #1
0
asDWORD asCAtomic::atomicDec()
{
	return asAtomicDec((int&)value);
}
Пример #2
0
void aatc_refcounted_GC::refcount_Release(){
	gcFlag = false;
	if (asAtomicDec(refCount) == 0){
		delete this;
	}
}