about summary refs log tree commit diff
path: root/library/std/src/thread/mod.rs
AgeCommit message (Expand)AuthorLines
2023-10-27std::thread: add SAFETY commentRalf Jung-0/+2
2023-10-27replace transmute by raw pointer castRalf Jung-8/+8
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
2023-06-21Rollup merge of #99587 - ibraheemdev:park-orderings, r=m-ou-seGuillaume Gomez-11/+21
2023-06-21"Memory Orderings" -> "Memory Ordering"Mara Bos-1/+1
2023-06-20relaxed orderings in `thread::park` exampleIbraheem Ahmed-3/+4
2023-06-13Fix typo in mod.rsIkko Eltociear Ashimine-1/+1
2023-06-04Avoid unwind across `extern "C"` in `thread_local::fast_local.rs`Thom Chiovoloni-1/+1
2023-04-28avoid duplicating TLS state between test std and realstdRalf Jung-16/+16
2023-04-26Auto merge of #110861 - m-ou-se:thread-local-restructure, r=workingjubileebors-2/+5
2023-04-26Restructure and rename thread local things in std.Mara Bos-2/+5
2023-04-26Spelling library/Josh Soref-2/+2
2023-04-11clarify wording around spurious wakeups from `thread::park`Ibraheem Ahmed-2/+2
2023-03-17Update mod.rsSean Linsley-2/+2
2023-03-16Clarify that RUST_MIN_STACK is internally cachedSean Linsley-1/+2
2023-03-10Moved thread_local implementation to sys::commonAyush Singh-36/+1
2023-02-19Rollup merge of #104659 - tshepang:reflow, r=workingjubileeDylan DPC-2/+4
2023-01-09std tests: use __OsLocalKeyInner from realstdRalf Jung-7/+15
2023-01-01improve wording of `thread::park` docsIbraheem Ahmed-4/+3
2022-12-30std: rename `Parker::new` to `Parker::new_in_place`, add safe `Parker::new` c...joboet-1/+1
2022-12-29std: unify id-based thread parking implementationsjoboet-1/+1
2022-11-21reflow the stack size storyTshepang Mbambo-2/+4
2022-11-20Improve documentation of Stack sizeFabian Hintringer-3/+2
2022-10-15Auto merge of #100579 - joboet:sync_mutex_everywhere, r=thomccbors-15/+12
2022-10-14Auto merge of #102783 - RalfJung:tls, r=thomccbors-10/+20
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-8/+25
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-05tidyIbraheem Ahmed-2/+2
2022-10-03scoped threads: pass closure through MaybeUninit to avoid invalid dangling re...Ralf Jung-0/+33
2022-09-28std: never panic in `thread::park` and `thread::park_timeout`joboet-2/+20
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/+7
2022-08-22std: use realstd fast key when building testsRalf Jung-0/+10
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-6/+11
2022-06-20Improve docs for `is_running` to explain use caseJosh Triplett-3/+4
2022-06-11Stabilize scoped threads.Mara Bos-2/+2
2022-06-09add cgroupv1 support to available_parallelismThe 8472-1/+1
2022-05-09Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errorsbors-2/+2