System.Threading.AtomicBooleanValue.Exchange C# (CSharp) 메소드

Exchange() 공개 메소드

public Exchange ( bool newVal ) : bool
newVal bool
리턴 bool
		public bool Exchange (bool newVal)
		{
			int newTemp = newVal ? Set : UnSet;
			return AotInterlocked.Exchange (ref flag, newTemp) == Set;
		}