コード例 #1
0
ファイル: as_atomic.cpp プロジェクト: 2mac/openspades
asDWORD asCAtomic::atomicInc()
{
	return asAtomicInc((int&)value);
}
コード例 #2
0
	void RefCountedObject::Release() {
		if(asAtomicInc(refCount) <= 0)
			delete this;
	}
コード例 #3
0
ファイル: aatc_common.cpp プロジェクト: GiR-Zippo/GWAN-Engine
void aatc_refcounted_GC::refcount_Add(){
	gcFlag = false;
	asAtomicInc(refCount);
}
コード例 #4
0
	void RefCountedObject::AddRef() {
		asAtomicInc(refCount);
	}