about summary refs log tree commit diff
path: root/library/std/src/thread
AgeCommit message (Expand)AuthorLines
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-04-08std: update abort message in `thread::set_current`joboet-1/+1
2024-04-06Auto merge of #123433 - GnomedDev:remove-threadname-alloc, r=joboetbors-3/+26
2024-04-05Rollup merge of #123505 - ChrisDenton:revert-121666, r=workingjubileeGuillaume Gomez-23/+1
2024-04-05Rollup merge of #121419 - agg23:xrOS-pr, r=davidtwcoGuillaume Gomez-1/+2
2024-04-05Revert #121666Chris Denton-23/+1
2024-04-04Remove rt::init allocation for thread nameDavid Thomas-3/+26
2024-04-03std: add comment about abort motivationjoboet-0/+2
2024-04-02std: reduce code size of `set_current`joboet-2/+5
2024-03-31std: move `thread::current` TLS variable out of `thread_info`joboet-8/+24
2024-03-20SeqCst->Relaxed in thread local test.Mara Bos-8/+11
2024-03-18Support for visionOSAdam Gastineau-1/+2
2024-03-07Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgrbors-0/+1
2024-03-06Document and test minimal stack size on WindowsChris Denton-0/+13
2024-03-06Note why we're using a new thread in a testChris Denton-0/+1
2024-03-04Don't run test_get_os_named_thread on win7roblabla-1/+1
2024-03-02Rollup merge of #121758 - joboet:move_pal_thread_local, r=ChrisDentonMatthias Krüger-1/+1
2024-02-28std: move thread local implementation to `sys`joboet-1/+1
2024-02-27Test getting the OS thread nameChris Denton-0/+19
2024-02-24Rollup merge of #121530 - wgslr:master, r=Mark-SimulacrumMatthias Krüger-1/+1
2024-02-24Fix incorrect doc of ScopedJoinHandle::is_finishedWojciech Geisler-1/+1
2024-02-23Auto merge of #121303 - GrigorenkoPV:static_mut_refs, r=oli-obk,RalfJungbors-2/+0
2024-02-23Get rid of some `#[allow(static_mut_refs)]`Pavel Grigorenko-2/+0
2024-02-23Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnaybors-3/+3
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+2
2024-02-22Use generic `NonZero` everywhere in `std`.Markus Reiter-3/+3
2024-02-18Improve wording of static_mut_refObei Sideg-2/+2
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-5/+4
2024-02-12Auto merge of #110211 - joboet:queue_lock, r=Amanieubors-1/+10
2024-02-09adjust code documentationjoboet-2/+2
2024-02-09std: replace pthread `RwLock` with custom implementation inspired by usyncjoboet-1/+10
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-12-07add teeos std impl袁浩-0/+1
2023-11-15Bump cfg(bootstrap)sMark Rousskov-4/+0
2023-10-27std::thread: add SAFETY commentRalf Jung-0/+2
2023-10-27replace transmute by raw pointer castRalf Jung-8/+8
2023-09-26std: broaden the allowed behaviour for recursive TLS initializationjoboet-3/+3
2023-09-17Auto merge of #113753 - dvdsk:master, r=dtolnaybors-1/+81
2023-08-22Replace version placeholders with 1.73.0Mark Rousskov-9/+9
2023-08-10Stabilize thread local cell methods.Mara Bos-18/+9
2023-07-16adds crate attribute to examples so they compiledvdsk-0/+2
2023-07-16fix examples add tracking issuedvdsk-9/+16
2023-07-16fixes sleep_until examplesdvdsk-2/+7
2023-07-15Adds thread::sleep_until, tracking issue TODOdvdsk-0/+66