class · System.Threading
AtomicBool
public class System.Threading.AtomicBool : System.Any
A bool that threads change together.
- Tipo
- class
- Espacio de nombres
- System.Threading
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Threading.ant
Herencia
- Clases base
-
AnyAtomicBool
Constructores
Propiedades
Métodos
Sets v if the value is comparand: the value before.
Miembros privados e internos (1)
field bits: System.Threading.AtomicI32
#
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
AtomicBool en Larva HIR, descompilado a partir de su 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
}