about summary refs log tree commit diff
path: root/library/std/src/thread
AgeCommit message (Expand)AuthorLines
2022-10-23Only test pthread_getname_np on linux-gnuJosh Stone-1/+7
2022-10-21Move truncation next to other thread tests for tidyJosh Stone-0/+25
2022-10-15Auto merge of #100579 - joboet:sync_mutex_everywhere, r=thomccbors-15/+12
2022-10-15Rollup merge of #102773 - joboet:apple_parker, r=thomccDylan DPC-0/+22
2022-10-14Auto merge of #102783 - RalfJung:tls, r=thomccbors-12/+25
2022-10-13smarter way to avoid 'unused' warning when building for testsRalf Jung-9/+2
2022-10-13sync thread_local key conditions exactly with what the macro usesRalf Jung-10/+30
2022-10-13std: use `sync::Mutex` for internal staticsjoboet-15/+12
2022-10-11Rollup merge of #102589 - RalfJung:scoped-threads-dangling, r=m-ou-seYuki Okushi-0/+33
2022-10-11Rollup merge of #102412 - joboet:dont_panic, r=m-ou-seYuki Okushi-2/+20
2022-10-06std: add thread parking testsjoboet-0/+22
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-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