about summary refs log tree commit diff
path: root/library/std/src/sys/xous/thread_local_key.rs
AgeCommit message (Collapse)AuthorLines
2024-01-11std: begin moving platform support modules into `pal`joboet-190/+0
2023-08-22std: xous: add thread_local_keySean Cross-0/+190
Add an implementation of thread local storage. This uses a container that is pointed to by the otherwise-unsed `$tp` register. This container is allocated on-demand, so threads that use no TLS will not allocate this extra memory. Signed-off-by: Sean Cross <sean@xobs.io>