Method | Description | |
---|---|---|
AtomicBoolean ( bool initialValue = false ) : System.Threading |
Sets the initial value of this AtomicBoolean to initialValue.
|
|
CompareAndSet ( bool expected, bool newValue ) : bool |
If Value equals expected, then set the Value to newValue.
|
public AtomicBoolean ( bool initialValue = false ) : System.Threading | ||
initialValue | bool | |
return | System.Threading |
public CompareAndSet ( bool expected, bool newValue ) : bool | ||
expected | bool | |
newValue | bool | |
return | bool |