void Group::incrementDependency() { #if TYPE == MULTI_THREAD int32 count = MT::atomicIncrement(&m_dependency_count); if (1 == count) { dependencyNotReady(); } #endif //TYPE == MULTI_THREAD }
void Group::incrementDependency() { #if !LUMIX_SINGLE_THREAD() i32 count = MT::atomicIncrement(&m_dependency_count); if (1 == count) { dependencyNotReady(); } #endif }