Module atomic
rustc_
data_
structures
1.87.0-nightly
(920d95eaf 2025-03-28)
Module atomic
Module Items
Structs
In rustc_
data_
structures::
sync
Modules
atomic
freeze
lock
mode
parallel
vec
worker_local
Structs
AppendOnlyIndexVec
AppendOnlyVec
AtomicU64
CacheAligned
FreezeLock
FreezeReadGuard
FreezeWriteGuard
MTLock
Registry
RwLock
WorkerLocal
Constants
ERROR_CHECKING
Traits
HashMapExt
Functions
is_dyn_thread_safe
join
par_for_each_in
par_map
parallel_guard
scope
set_dyn_thread_safe_mode
try_par_for_each_in
Type Aliases
MappedReadGuard
MappedWriteGuard
ReadGuard
WriteGuard
rustc_data_structures
::
sync
Module
atomic
Copy item path
Settings
Help
Summary
Source
Expand description
Keep the conditional imports together in a submodule, so that import-sorting doesn’t split them up.
Structs
§
Atomic
U64
An integer type which can be safely shared between threads.