about summary refs log tree commit diff
path: root/library/std/src/sys/thread_local
AgeCommit message (Expand)AuthorLines
2024-12-10Rollup merge of #133472 - rust-wasi-web:master, r=joboetLeón Orell Valerian Liehr-1/+24
2024-12-05Add libc funcitons only for wasm32-wasip1-threads.Sebastian Urban-1/+1
2024-12-05Fix compilation for wasm32-wasip1 (without threads).Sebastian Urban-2/+4
2024-12-03Use UNIX thread_local implementation for WASI.Sebastian Urban-75/+22
2024-11-27update cfgsBoxy-2/+0
2024-11-25Run TLS destructors for wasm32-wasip1-threadsSebastian Urban-0/+74
2024-11-02Remove unintended linkHoutamelo-1/+1
2024-10-25Re-do recursive const stability checksRalf Jung-2/+2
2024-10-25Avoid use imports in thread_local_inner! in statikJeong YunWon-5/+4
2024-10-18Avoid shadowing user provided types or type aliases in `thread_local!`许杰友 Jieyou Xu (Joe)-22/+26
2024-10-02std: make `thread::current` available in all `thread_local!` destructorsjoboet-26/+175
2024-09-25Use `&raw` in the standard libraryJosh Stone-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+12
2024-07-26Fix doc nitsJohn Arundel-5/+5
2024-07-20Remove _tls_used hackChris Denton-13/+0
2024-07-15Remove DWORDChris Denton-4/+4
2024-07-15Remove LPVOIDChris Denton-2/+3
2024-06-28std: add safety commentsjoboet-4/+16
2024-06-25std: separate TLS key creation from TLS accessjoboet-125/+100
2024-06-24std: fix wasm buildsjoboet-2/+16
2024-06-17std: rename module for clarityjoboet-2/+2
2024-06-17std: update TLS module documentationjoboet-16/+22
2024-06-17std: use the `c_int` from `core::ffi` instead of `libc`joboet-1/+1
2024-06-17std: simplify `#[cfg]`s for TLSjoboet-15/+10
2024-06-15std: refactor the TLS implementationjoboet-26/+1065
2024-06-04Auto merge of #125525 - joboet:tls_accessor, r=cuviperbors-172/+103
2024-06-02typo: depending from -> onRalf Jung-1/+1
2024-05-25std: make TLS accessors closures that return pointersjoboet-172/+103
2024-05-24std: clean up the TLS implementationjoboet-3/+4
2024-05-24std: simplify key-based thread localsjoboet-185/+60
2024-05-24Auto merge of #123724 - joboet:static_tls, r=m-ou-sebors-70/+76
2024-05-23std: rewrite native thread-local storagejoboet-248/+330
2024-04-30std: rewrite TLS on platforms without threadsjoboet-70/+76
2024-04-26thread_local: refine LazyKeyInner::take safety docJubilee-1/+1
2024-04-25thread_local: split refs to fields of KeyJubilee Young-3/+4
2024-04-25thread_local: use less &mut T in LazyKeyInner::takeJubilee Young-6/+8
2024-04-15static_mut_refs: use raw pointers to remove the remaining FIXMERalf Jung-3/+2
2024-03-20step cfgsMark Rousskov-2/+1
2024-03-16Use `UnsafeCell` for fast constant thread localsJohn Kåre Alsaker-8/+7
2024-02-28std: move thread local implementation to `sys`joboet-0/+664