summary refs log tree commit diff
path: root/library/std/src/thread/tests.rs
AgeCommit message (Collapse)AuthorLines
2024-04-11Beta revert "Use OS thread name by default"Chris Denton-20/+0
This reverts #121666 due to #123495 This has already been done on master but beta needs something that will backport cleanly. (cherry picked from commit 081ad8527d7b79e4761c497c12930e630de9a230)
2024-03-07Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgrbors-0/+1
Rollup of 9 pull requests Successful merges: - #121958 (Fix redundant import errors for preload extern crate) - #121976 (Add an option to have an external download/bootstrap cache) - #122022 (loongarch: add frecipe and relax target feature) - #122026 (Do not try to format removed files) - #122027 (Uplift some feeding out of `associated_type_for_impl_trait_in_impl` and into queries) - #122063 (Make the lowering of `thir::ExprKind::If` easier to follow) - #122074 (Add missing PartialOrd trait implementation doc for array) - #122082 (remove outdated fixme comment) - #122091 (Note why we're using a new thread in `test_get_os_named_thread`) r? `@ghost` `@rustbot` modify labels: rollup
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
This test won't work on windows 7, as the Thread::set_name function is not implemented there (win7 does not provide a documented mechanism to set thread names).
2024-02-27Test getting the OS thread nameChris Denton-0/+19
2023-06-21Update tvOS support elsewhere in the stdlibThom Chiovoloni-0/+1
2023-05-10Remove and fix useless drop of referenceUrgau-1/+3
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-06std: add thread parking testsjoboet-0/+22
2022-08-18add some Miri-only testsRalf Jung-0/+19
2022-06-15Test NLL fix of bad lifetime inference for reference captured in closure.Frank Steffahn-0/+13
2022-05-29Use Box::new() instead of box syntax in std testsest31-2/+2
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-03Update test.Mara Bos-4/+4
2021-12-18Update stdlib to the 2021 editionLucas Kent-7/+8
2021-10-31Add test for JoinHandle::is_running.Mara Bos-1/+35
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+262
Also doing fmt inplace as requested.