about summary refs log tree commit diff
path: root/library/std/src/sys_common/once/mod.rs
AgeCommit message (Collapse)AuthorLines
2024-03-12std: move `Once` implementations to `sys`joboet-35/+0
2024-01-13std: once: use queue implementation on XousSean Cross-0/+1
Use the global queue implementation of Once when running on Xous. This gets us a thread-safe implementation, rather than using the non-threadsafe `unsupported` implementation. Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-14std: use a more efficient `Once` on platforms without threadsjoboet-18/+9
2022-10-07std: use futex in `Once`joboet-0/+43