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
Any AtomicBool

Constructores

constructor AtomicBool()
#
constructor AtomicBool(value: bool)
#

Propiedades

property Value: bool
#

Métodos

method Load() -> bool
#
method Store(v: bool) -> void
#
method Exchange(v: bool) -> bool
#
method CompareExchange(v: bool, comparand: bool) -> bool
#

Sets v if the value is comparand: the value before.

Miembros privados e internos (1)

private

Miembros heredados (5)

Código fuente

AtomicBool en Larva HIR, descompilado a partir de su Larva HIR.

System.Threading.AtomicBool.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
}
Esc