atomic_cell 0.1.0

Cells protected by atomic locks. These data structures were originally designed for an experimental branch of Servo, to let us regroup values that were used throughout the code in modules, rather than having to lug them around as arguments everywhere.

Crate atomic_cell [] [src]

Structs

AtomicCell

A cell holding values protected by an atomic lock.

CleanGuard

A guard used to drop the value held by a CleanMeUp at a deterministic point in code. This is designed as an alternative to Drop for global variables.

StaticCell

A cell holding values protected by an atomic lock.

Traits

CleanMeUp

An object that needs to be cleaned up.