rust/library/std/src/sync
Josh Stone 03383ad102 Initialize channel Blocks directly on the heap
The channel's `Block::new` was causing a stack overflow because it held
32 item slots, instantiated on the stack before moving to `Box::new`.
The 32x multiplier made modestly-large item sizes untenable.

That block is now initialized directly on the heap.

Fixes #102246
2024-11-07 10:09:45 -08:00
..
barrier Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
condvar Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
lazy_lock Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
mpmc Initialize channel Blocks directly on the heap 2024-11-07 10:09:45 -08:00
mpsc Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
mutex Specify behavior if the closure passed to *Guard::*map panics. 2023-12-05 17:30:46 -06:00
once std: fix busy-waiting in Once::wait_force, add more tests 2024-07-31 17:44:10 +02:00
once_lock Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
reentrant_lock remove an unused type from the reentrant lock tests 2024-04-22 19:36:21 +02:00
rwlock rwlock: disable 'frob' test in Miri on macOS 2024-08-08 11:15:18 +02:00
barrier.rs Replace move|| with move || in compiler/ and library/ 2024-06-18 23:25:08 +08:00
condvar.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lazy_lock.rs fix lazylock comment 2024-11-07 10:51:00 +08:00
mod.rs Add multi-producer, multi-consumer channel (mpmc) 2024-09-30 20:43:51 +03:00
mutex.rs Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
once.rs library: consistently use American spelling for 'behavior' 2024-10-25 12:02:47 +02:00
once_lock.rs Document PartialEq impl for OnceLock 2024-10-21 20:15:04 -07:00
poison.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
reentrant_lock.rs Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00
rwlock.rs Fix std tests for wasm32-wasip2 target 2024-09-29 04:48:13 +02:00