about summary refs log tree commit diff
path: root/library/std/src/sys/unix/thread.rs
AgeCommit message (Expand)AuthorLines
2024-01-11std: begin moving platform support modules into `pal`joboet-992/+0
2023-12-30openbsd: available_parallelism: use the right APISebastien Marie-26/+6
2023-12-03library: use c string literalsklensy-2/+1
2023-11-01Auto merge of #115356 - devnexen:haiku_set_name_use_return, r=thomccbors-1/+3
2023-10-09Support AIX in Rust standard libraryQiu Chaofan-0/+2
2023-09-22Rollup merge of #116038 - the8472:panic-on-sched_getaffinity-bug, r=cuviperMatthias Krüger-6/+19
2023-09-21Auto merge of #115230 - Vtewari2311:mod-hurd-latest, r=b-naberbors-2/+8
2023-09-21Fall back to _SC_NPROCESSORS_ONLN if sched_getaffinity returns an empty maskThe 8472-6/+19
2023-09-21added support for GNU/HurdSamuel Thibault-2/+8
2023-09-18panic when encountering an illegal cpumaskThe 8472-2/+4
2023-08-29std::thread::set_name exploit the return on haikuDavid CARLIER-1/+3
2023-08-18QNX: pass a truncated thread name to the OSJorge Aparicio-0/+4
2023-07-05Revert "use c literals in library"León Orell Valerian Liehr-1/+2
2023-06-21Finish up preliminary tvos support in libstdThom Chiovoloni-1/+7
2023-06-21wip: Support Apple tvOS in libstdThom Chiovoloni-1/+2
2023-06-06std: available_parallelism using native netbsd api firstDavid Carlier-0/+23
2023-05-31use c literals in libraryklensy-2/+1
2023-04-25Add FreeBSD cpuset support to std::thread::available_concurrencyThomas Hurst-0/+19
2023-02-28Add QNX Neutrino support to libstdFlorian Bartels-2/+13
2023-01-17refactor[std]: do not use box syntaxjoboet-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-8/+8
2022-12-28Rollup merge of #104493 - adamncasey:cgroupzeroperiod, r=m-ou-seMatthias Krüger-2/+2
2022-12-22std: only use LFS function on glibcmochaaP-2/+2
2022-12-14Rollup merge of #105399 - mikebenfield:lfs, r=thomccMatthias Krüger-2/+5
2022-12-07Avoid heap allocation when truncating thread namesGavin Li-12/+7
2022-12-07Use more LFS functions.Michael Benfield-2/+5
2022-11-16available_parallelism: Handle 0 cfs_period_usAdam Casey-2/+2
2022-10-26thread::set_name: debug-assert that things went wellRalf Jung-6/+10
2022-10-21Move truncation next to other thread tests for tidyJosh Stone-25/+0
2022-10-21Truncate thread names on Linux and Apple targetsJosh Stone-0/+43
2022-10-13Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-seDylan DPC-0/+10
2022-10-09openbsd: don't reallocate a guard page on the stack.Sébastien Marie-0/+10
2022-10-03Reduce CString allocations in std as much as possibleAlex Saveau-2/+1
2022-09-03more clippy::perf fixesMatthias Krüger-1/+1
2022-08-08linux: Use `pthread_setname_np` instead of `prctl`Josh Stone-3/+9
2022-07-23Auto merge of #97925 - the8472:cgroupv1, r=joshtriplettbors-46/+189
2022-07-20Library changes for Apple WatchOSVladimir Michael Eatwell-1/+1
2022-06-24scan mountinfo when hardcoded cgroupv1 mountpoints don't workThe 8472-19/+83
2022-06-09add cgroupv1 support to available_parallelismThe 8472-47/+126
2022-04-06Change trailing prctl arguments to c_ulongBen Kimock-1/+7
2022-04-03Don't cast thread name to an integer for prctlBen Kimock-1/+1
2022-03-30Fix library/std compilation on openbsd.Dan Gohman-1/+1
2022-03-29Make some linux/unix APIs better conform to strict provenance.Alexis Beingessner-23/+25
2022-03-05do not attempt to open cgroup files under MiriRalf Jung-0/+5
2022-03-03hardcode /sys/fs/cgroup instead of doing a lookup via mountinfoThe 8472-53/+67
2022-03-03Use cgroup quotas for calculating `available_parallelism`The 8472-3/+68
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-5/+5
2021-11-12Refactor weak symbols in std::sys::unixJosh Stone-7/+10
2021-10-31Make std::thread::available_concurrency support process-limited number of CPUsJosh Triplett-0/+8
2021-10-10Auto merge of #88952 - skrap:add-armv7-uclibc, r=nagisabors-1/+2