Cells protected by atomic locks.
This crate defines two cells protected by atomic locks: the StaticCell
and the AtomicCell
. The former was initially developed 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.
See the documentation and examples for more details.