about summary refs log tree commit diff
path: root/library/std/src/thread/local.rs
AgeCommit message (Expand)AuthorLines
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
2022-05-01Fix some links in the standard libraryVadim Petrochenkov-0/+2
2022-04-17Revert "Auto merge of #94373 - erikdesjardins:getitinl, r=Mark-Simulacrum"Erik Desjardins-2/+2
2022-04-12Add missing unsafe marker.Mara Bos-1/+1
2022-04-12Add #[deny(unsafe_op_in_unsafe_fn)] to thread_local!(const).Mara Bos-0/+1
2022-04-07Use gender neutral termsJames 'zofrex' Sanderson-1/+1
2022-04-02Refer to u8 by absolute path in expansion of thread_localDavid Tolnay-3/+3
2022-04-01Fix `thread_local!` macro to be compatible with `no_implicit_prelude`niluxv-8/+8
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-3/+3
2022-03-05Small fixes in thread local code.Mara Bos-2/+2
2022-03-05Update documentation in thread/local.rs.Mara Bos-6/+26
2022-03-05Add debug asserts in thread local cell set methods.Mara Bos-0/+4
2022-03-05Add tracking issue number for local_key_cell_methods.Mara Bos-9/+9
2022-03-05Rename LocalKey's with_{ref,mut} to with_borrow{,_mut}.Mara Bos-9/+9
2022-03-05Implement RFC 3184 - thread local cell methods.Mara Bos-10/+347
2022-02-25Make TLS __getit #[inline(always)] on non-WindowsErik Desjardins-2/+2
2022-01-06Add diagnostic items for macrosAlex Macleod-0/+1
2021-12-14Fix a bunch of typosFrank Steffahn-2/+2
2021-12-05Rollup merge of #91355 - alexcrichton:stabilize-thread-local-const, r=m-ou-seMatthias Krüger-1/+0
2021-12-02Document Windows TLS drop behaviourChris Denton-0/+14
2021-11-29std: Stabilize the `thread_local_const_init` featureAlex Crichton-1/+0
2021-11-18Auto merge of #90774 - alexcrichton:tweak-const, r=m-ou-sebors-6/+6
2021-11-10std: Tweak expansion of thread-local constAlex Crichton-6/+6
2021-11-10Review commentsAlex Crichton-1/+1
2021-11-10Use `target_family = "wasm"`Alex Crichton-13/+7
2021-11-10std: Get the standard library compiling for wasm64Alex Crichton-8/+14
2021-06-24Use `#[non_exhaustive]` where appropriateJacob Pratt-4/+3
2021-05-20std: Don't inline TLS accessor on MinGWAlex Crichton-13/+13
2021-05-18std: Attempt again to inline thread-local-init across cratesAlex Crichton-0/+24
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-04-21Rollup merge of #84013 - CDirkx:fmt, r=m-ou-seMara Bos-4/+4
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-4/+4
2021-04-18fix aliasing violations in thread_local_const_initRalf Jung-1/+1
2021-04-16std: Add a variant of thread locals with const initAlex Crichton-2/+115
2020-11-07Convert a bunch of intra-doc linksCamelid-1/+1
2020-09-26Auto merge of #74225 - poliorcetics:std-thread-unsafe-op-in-unsafe-fn, r=josh...bors-36/+107
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+2
2020-09-21Fix missing unsafe block for target arch wasm32Alexis Bourget-3/+10
2020-09-21Fix accordingly to reviewAlexis Bourget-22/+20