class · System.Threading
AtomicBool
public class System.Threading.AtomicBool : System.Any
A bool that threads change together.
- Kind
- class
- Namespace
- System.Threading
- Assembly
- System.Core
- Access
- public, final
- Source file
Threading.ant
Inheritance
- Base classes
-
AnyAtomicBool
Constructors
Properties
Methods
Sets v if the value is comparand: the value before.
Private and internal members (1)
field bits: System.Threading.AtomicI32
#
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
AtomicBool as Larva HIR, decompiled from its Larva HIR.
// A bool that threads change together.
public class System.Threading.AtomicBool : System.Any
{
field bits: System.Threading.AtomicI32
constructor AtomicBool()
constructor AtomicBool(value: bool)
method Load() -> bool
method Store(v: bool) -> void
method Exchange(v: bool) -> bool
// Sets `v` if the value is `comparand`: the value before.
method CompareExchange(v: bool, comparand: bool) -> bool
property Value: bool
}