about summary refs log tree commit diff
path: root/library/std/src/thread
AgeCommit message (Expand)AuthorLines
2022-10-03scoped threads: pass closure through MaybeUninit to avoid invalid dangling re...Ralf Jung-0/+33
2022-10-02Rollup merge of #102313 - anirudh24seven:update_sleep_ms_doc, r=Mark-SimulacrumMatthias Krüger-0/+2
2022-09-28std: never panic in `thread::park` and `thread::park_timeout`joboet-2/+20
2022-09-27Address feedbackmejrs-1/+1
2022-09-27Wrapper suggestionsmejrs-0/+1
2022-09-26Update docs so that deprecated method points to relevant methodAnirudh-0/+2
2022-09-09doc: fix minor typoAkhilesh Singhania-1/+1
2022-08-22update and extend some comments, and cfg-out some unused codeRalf Jung-7/+10
2022-08-22std: use realstd fast key when building testsRalf Jung-0/+10
2022-08-18add some Miri-only testsRalf Jung-0/+19
2022-08-10std: optimize thread ID generationjoboet-18/+41
2022-07-23Auto merge of #97925 - the8472:cgroupv1, r=joshtriplettbors-1/+6
2022-07-22[review] mention that runtime may scale with # of mountpointsthe8472-0/+5
2022-07-21document memory orderings of `thread::{park, unpark}`Ibraheem Ahmed-9/+19
2022-07-15Fix typo in mod.rsIkko Ashimine-1/+1
2022-06-27fix data race in thread::scopeRalf Jung-10/+17
2022-06-20Improve docs for `is_running` to explain use caseJosh Triplett-6/+8
2022-06-15Test NLL fix of bad lifetime inference for reference captured in closure.Frank Steffahn-0/+13
2022-06-11Stabilize scoped threads.Mara Bos-10/+12
2022-06-09add cgroupv1 support to available_parallelismThe 8472-1/+1
2022-05-29Use Box::new() instead of box syntax in std testsest31-2/+2
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-2/+2
2022-05-01Fix some links in the standard libraryVadim Petrochenkov-0/+3
2022-04-25std: directly use pthread in UNIX parker implementationjoboet-5/+27
2022-04-17Revert "Auto merge of #94373 - erikdesjardins:getitinl, r=Mark-Simulacrum"Erik Desjardins-2/+2
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-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-31Rollup merge of #95130 - workingjubilee:stably-finished, r=m-ou-seDylan DPC-2/+1
2022-03-30Don't stabilize ScopedJoinHandle::is_finished yet.Mara Bos-1/+0
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-3/+3
2022-03-19Stabilize thread::is_finishedJubilee Young-2/+2
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-4/+4
2022-03-10Rollup merge of #94644 - m-ou-se:scoped-threads-drop-soundness, r=joshtriplettMatthias Krüger-7/+47
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-4/+4
2022-03-09Add documentation about lifetimes to thread::scope.Mara Bos-0/+18
2022-03-09Add soundness test for dropping scoped thread results before joining.Mara Bos-1/+24
2022-03-09Remove outdated comment.Mara Bos-2/+0
2022-03-09Properly abort when thread result panics on drop.Mara Bos-19/+21
2022-03-09Fix soundness issue in scoped threads.Mara Bos-0/+17
2022-03-08Rollup merge of #94559 - m-ou-se:thread-scope-spawn-closure-without-arg, r=Ma...Matthias Krüger-21/+23
2022-03-07Use `f` instead of `|| f()`.Mara Bos-1/+1
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