diff options
| author | Sean Cross <sean@xobs.io> | 2022-11-07 16:06:01 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2023-08-22 20:25:38 +0800 |
| commit | 46a4ec3a71a3e941b2d254c80f5780a2ed9eeff3 (patch) | |
| tree | 3584c550901e08869cfef331cc7a333cf8d0ee6e /compiler/rustc_codegen_llvm/src | |
| parent | d36e516478cf34b360cb5d0f6225a28e6076ac37 (diff) | |
| download | rust-46a4ec3a71a3e941b2d254c80f5780a2ed9eeff3.tar.gz rust-46a4ec3a71a3e941b2d254c80f5780a2ed9eeff3.zip | |
std: xous: add thread_local_key
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>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
