Module rustc_data_structures::sync::lock

source ·
Expand description

This module implements a lock which only uses synchronization if might_be_dyn_thread_safe is true. It implements DynSend and DynSync instead of the typical Send and Sync traits.

When cfg(parallel_compiler) is not set, the lock is instead a wrapper around RefCell.

Re-exports§

Modules§

Enums§