about summary refs log tree commit diff
path: root/library/std/src/thread
AgeCommit message (Expand)AuthorLines
2025-10-02Rollup merge of #146281 - Jules-Bertholet:static-align-thread-local, r=Mark-S...Matthias Krüger-20/+214
2025-09-30Add fast-path for accessing the current thread idJosh Simmons-3/+25
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/+210
2025-09-21Change the cfg to a dashBen Kimock-1/+1
2025-09-21Add panic=immediate-abortBen Kimock-1/+1
2025-09-12Rollup merge of #145895 - RalfJung:unpark, r=joboetStuart Cook-15/+56
2025-09-10std: move `thread` into `sys`joboet-4/+4
2025-09-03thread parking: fix docs and examplesRalf Jung-15/+56
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-08-16library: Migrate from `cfg_if` to `cfg_select`Josh Triplett-11/+16
2025-08-06Print thread ID in panic message if thread name is unknownTrevor Gross-2/+20
2025-08-04Rollup merge of #144188 - joshtriplett:available-parallelism, r=Mark-SimulacrumStuart Cook-0/+3
2025-07-29Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisDentonStuart Cook-1/+1
2025-07-28thread name in stack overflow messagejoboet-1/+1
2025-07-26Rollup merge of #143859 - orlp:thread-into-raw-align, r=jhprattTrevor Gross-1/+7
2025-07-19`available_parallelism`: Add documentation for why we don't look at `ulimit`Josh Triplett-0/+3
2025-07-15Add LocalKey<Cell>::updateCameron Steffen-0/+23
2025-07-13TidyOrson Peters-1/+1
2025-07-13Guarantee 8 bytes of alignment in Thread::into_rawOrson Peters-1/+7
2025-07-06Auto merge of #141829 - dvdsk:sleep_until_linux, r=cuviper,RalfJungbors-8/+27
2025-07-06sleep_until: use clock_nanosleep where possibledvdsk-8/+27
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-05-12update cfg(bootstrap)Pietro Albini-1/+1
2025-04-27use generic Atomic type where possibleChristopher Durham-11/+11
2025-04-18LocalKey<T>: document that the dtor should not panicLieselotte-1/+5
2025-04-11rustdoc-search: add unbox flag to Result aliasesMichael Howell-0/+1
2025-03-27Auto merge of #138702 - m-ou-se:spawn-in-atexit, r=Mark-Simulacrumbors-9/+14
2025-03-19Allow spawning threads after TLS destruction.Mara Bos-9/+14
2025-03-10Mark some std tests as requiring `panic = "unwind"`Paul Menage-0/+5
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-02-27Rollup merge of #137480 - fuzzypixelz:fix/124466, r=workingjubileeMatthias Krüger-1/+10
2025-02-25Use `.expect(..)` insteadMahmoud Mazouz-5/+10
2025-02-24Remove speculation on cause of errorMahmoud Mazouz-1/+1
2025-02-23Return error on unexpected termination in `Thread::join`.Mahmoud Mazouz-1/+5
2025-02-21Highlight thread_local! const init in docsKornel-5/+6
2025-01-26Move std::thread_local unit tests to integration testsbjorn3-422/+0
2025-01-21Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviperbors-8/+16
2025-01-14add comments explaining main thread identificationjoboet-0/+29
2025-01-14std: lazily allocate the main thread handlejoboet-69/+117
2025-01-14Revert "Remove the Arc rt::init allocation for thread info"joboet-117/+53
2025-01-08Remove some unnecessary `.into()` callsEsteban Küber-1/+1
2025-01-08Outline panicking code for `LocalKey::with`Joseph Perez-8/+16
2024-12-29fix: typoscalciumbe-1/+1
2024-12-20mri: add track_caller to thread spawning methods for better backtracesRalf Jung-0/+4
2024-12-06Define acronym for thread local storageWill-Low-1/+1
2024-12-03Rollup merge of #132937 - xmh0511:master, r=m-ou-seMatthias Krüger-3/+3
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-1/+0