Files
rust/library/std/src
Matthias Krüger 92beb42f64 Rollup merge of #131094 - joboet:lazy_once_box, r=ibraheemdev
std: replace `LazyBox` with `OnceBox`

This PR replaces the `LazyBox` wrapper used to allocate the pthread primitives with `OnceBox`, which has a more familiar API mirroring that of `OnceLock`. This cleans up the code in preparation for larger changes like #128184 (from which this PR was split) and allows some neat optimizations, like avoid an acquire-load of the allocation pointer in `Mutex::unlock`, where the initialization of the allocation must have already been observed.

Additionally, I've gotten rid of the TEEOS `Condvar` code, it's just a duplicate of the pthread one anyway and I didn't want to repeat myself.
2024-10-05 13:15:57 +02:00
..
2023-12-10 10:56:22 +08:00
2024-07-29 08:26:52 +10:00
2024-09-25 17:03:20 -07:00
2024-09-25 17:03:20 -07:00
2024-09-23 10:29:51 +02:00
2024-10-04 14:56:15 -04:00
2024-01-11 11:30:12 -05:00
2024-07-29 08:26:52 +10:00
2024-09-29 04:48:13 +02:00
2024-08-01 15:38:51 -04:00
2024-04-08 11:57:17 +00:00
2024-09-25 17:03:20 -07:00