[−][src]Module once_cell::race
"First one wins" flavor of OnceCell
.
If two threads race to initialize a type from the race
module, they
don't block, execute initialization function together, but only one of
them stores the result.
This module does not require std
feature.
Structs
OnceBool | |
OnceBox | |
OnceNonZeroUsize |