about summary refs log tree commit diff
path: root/library/std/src/thread/mod.rs
AgeCommit message (Expand)AuthorLines
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
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-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-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
2022-05-01Fix some links in the standard libraryVadim Petrochenkov-0/+1
2022-04-25std: directly use pthread in UNIX parker implementationjoboet-5/+27
2022-04-14Remove use of `#[rustc_deprecated]`Jacob Pratt-2/+2
2022-03-19Stabilize thread::is_finishedJubilee Young-1/+1
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-3/+3
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
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-04Rollup merge of #94549 - m-ou-se:thread-is-finished, r=yaahcMatthias Krüger-4/+9
2022-03-03Rename JoinHandle::is_running to is_finished and update docs.Mara Bos-4/+9
2022-03-03update available_parallelism docs since cgroups and sched_getaffinity are now...The 8472-1/+4
2022-02-22Fix typo.NyantasticUwU-1/+1
2022-01-23Rollup merge of #92555 - m-ou-se:scoped-threads, r=AmanieuMatthias Krüger-27/+66
2022-01-22Add tracking issue number for scoped_threads.Mara Bos-2/+2
2022-01-22Simplify Send/Sync of std::thread::Packet.Mara Bos-7/+5
2022-01-13Auto merge of #92553 - m-ou-se:thread-join-simplify, r=Mark-Simulacrumbors-9/+9
2022-01-07Stabilize `#[feature(available_parallelism)]`Yoshua Wuyts-2/+1
2022-01-05Rename n_running_threads to num_running_threads.Mara Bos-2/+2
2022-01-04Fix typo in is_running() docs.Mara Bos-1/+1
2022-01-04Simplify panicking mechanism of thread::scope.Mara Bos-8/+5
2022-01-04Implement RFC 3151: Scoped threads.Mara Bos-26/+70