about summary refs log tree commit diff
path: root/library/std/src/thread/local.rs
AgeCommit message (Expand)AuthorLines
2025-09-27Hoist non-platform-specific code out of `thread_local_inner!`Jules Bertholet-2/+6
2025-09-26Support `#[rustc_align_static]` inside `thread_local!`Jules Bertholet-20/+209
2025-09-21Change the cfg to a dashBen Kimock-1/+1
2025-09-21Add panic=immediate-abortBen Kimock-1/+1
2025-08-19Tweak wording againQuinn Tucker-1/+1
2025-08-19Adjust wording for concisenessQuinn Tucker-2/+2
2025-08-19Fix typos in LocalKey documentationQuinn Tucker-2/+2
2025-07-15Add LocalKey<Cell>::updateCameron Steffen-0/+23
2025-04-18LocalKey<T>: document that the dtor should not panicLieselotte-1/+5
2025-02-21Highlight thread_local! const init in docsKornel-5/+6
2025-01-26Move std::thread_local unit tests to integration testsbjorn3-6/+0
2025-01-08Outline panicking code for `LocalKey::with`Joseph Perez-8/+16
2024-12-06Define acronym for thread local storageWill-Low-1/+1
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-1/+0
2024-11-27update cfgsBoxy-1/+0
2024-11-26Add missing code examples on `LocalKey`Guillaume Gomez-2/+28
2024-10-25Re-do recursive const stability checksRalf Jung-1/+1
2024-09-29Fix std tests for wasm32-wasip2 targetNicola Krumschmidt-1/+1
2024-06-18Replace `move||` with `move ||` in `compiler/` and `library/`Vonr-1/+1
2024-05-25std: make TLS accessors closures that return pointersjoboet-8/+4
2024-04-08Change method calls to using the method directlyTrevor Gross-3/+3
2024-04-08Add `SAFETY` comments to the thread local implementationTrevor Gross-10/+12
2024-04-08Update thread local docs with idiomatic cell type useTrevor Gross-15/+17
2024-02-23Get rid of some `#[allow(static_mut_refs)]`Pavel Grigorenko-2/+0
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+2
2024-02-18Improve wording of static_mut_refObei Sideg-2/+2
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-1/+1
2024-01-20Revert example change from PR 116392David Tolnay-4/+1
2024-01-20Allow any expression blocks in `thread_local!`Nikolai Vazquez-3/+6
2024-01-07Update test for `E0796` and `static_mut_ref` lintObei Sideg-0/+2
2024-01-02Update `thread_local` examples to use `local_key_cell_methods`Trevor Gross-18/+32
2023-09-26std: broaden the allowed behaviour for recursive TLS initializationjoboet-3/+3
2023-08-22Replace version placeholders with 1.73.0Mark Rousskov-9/+9
2023-08-10Stabilize thread local cell methods.Mara Bos-18/+9
2023-05-15Rollup merge of #110049 - SkiFire13:localkey-with-docs-fix, r=workingjubileeMatthias Krüger-2/+2
2023-04-27Document `const {}` syntax for `std::thread_local`.Nilstrieb-2/+20
2023-04-26Restructure and rename thread local things in std.Mara Bos-4/+4
2023-04-07Don't claim LocalKey::with prevents a reference to be sent across threadsGiacomo Stevanato-2/+2
2023-03-10Moved thread_local implementation to sys::commonAyush Singh-373/+0
2023-03-10Move __thread_local_inner to sysAyush Singh-194/+0
2023-01-17refactor[std]: do not use box syntaxjoboet-2/+1
2022-12-30Auto merge of #106296 - matthiaskrgr:rollup-ukdbqwx, r=matthiaskrgrbors-1/+1
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-1/+1
2022-12-28Catch panics in destruction of TLS valuesFlorian Bartels-7/+14
2022-11-24Revert "Forbid inlining `thread_local!`'s `__getit` function on Windows"Thom Chiovoloni-16/+9
2022-11-22Forbid inlining `thread_local!`'s `__getit` function on WindowsThom Chiovoloni-9/+16
2022-10-13sync thread_local key conditions exactly with what the macro usesRalf Jung-2/+5
2022-09-27Address feedbackmejrs-1/+1
2022-09-27Wrapper suggestionsmejrs-0/+1
2022-08-22update and extend some comments, and cfg-out some unused codeRalf Jung-0/+3