rust/library/std/src/sync
Matthias Krüger 8186b71fb4
Rollup merge of #140783 - veluca93:oncelock-docs, r=jhpratt
Update documentation of OnceLock::get_or_init.

Explicitly point out that if the function panics the init function might be called multiple times.
2025-05-10 16:26:03 +02:00
..
mpmc use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
poison Rename (Mapped)(RwLock|Mutex)Guard::try_map to filter_map. 2025-04-30 19:43:24 -05:00
barrier.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
lazy_lock.rs Rollup merge of #129334 - ChayimFriedman2:more-lazy-methods, r=Amanieu 2025-05-10 16:26:01 +02:00
mod.rs Implement UniqueArc 2025-03-22 15:14:49 +08:00
mpsc.rs Move std::sync unit tests to integration tests 2025-01-26 10:28:05 +00:00
once_lock.rs Update documentation of OnceLock::get_or_init. 2025-05-08 09:33:38 +02:00
poison.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
reentrant_lock.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00