Beispiel #1
0
		void Group::incrementDependency()
		{
#if TYPE == MULTI_THREAD

			int32 count = MT::atomicIncrement(&m_dependency_count);
			if (1 == count)
			{
				dependencyNotReady();
			}

#endif //TYPE == MULTI_THREAD
		}
Beispiel #2
0
		void Group::incrementDependency()
		{
#if !LUMIX_SINGLE_THREAD()

			i32 count = MT::atomicIncrement(&m_dependency_count);
			if (1 == count)
			{
				dependencyNotReady();
			}

#endif
		}