about summary refs log tree commit diff
path: root/library/std/src/thread
AgeCommit message (Expand)AuthorLines
2021-10-08Fix minor std::thread documentation typoMarcelo Diop-Gonzalez-3/+3
2021-10-06Rollup merge of #89324 - yoshuawuyts:hardware-parallelism, r=m-ou-seManish Goregaokar-5/+7
2021-10-04Add doc aliases to `std::thread::available_parallelism`Yoshua Wuyts-0/+2
2021-09-28Rename `std::thread::available_onccurrency` to `std::thread::available_parall...Yoshua Wuyts-5/+5
2021-09-16Remove an allocation from rt::initbjorn3-7/+5
2021-08-07removed references to parent/child from std::thread documentationGodmar Back-31/+40
2021-07-29Fix may not to appropriate might not or must notAli Malik-2/+2
2021-07-10rename variableRalf Jung-2/+2
2021-07-10avoid reentrant lock acquire when ThreadIds run outRalf Jung-0/+1
2021-07-06rewrote documentation for thread::yield_now()Godmar Back-16/+17
2021-06-24Use `#[non_exhaustive]` where appropriateJacob Pratt-4/+3
2021-06-22Auto merge of #86527 - JohnTitor:rollup-cbu78g4, r=JohnTitorbors-162/+37
2021-06-21Move `available_concurrency` implementation to `sys`Christiaan Dirkx-162/+37
2021-06-20Squashed implementation of the passAlex Vlasov-1/+1
2021-05-20std: Don't inline TLS accessor on MinGWAlex Crichton-13/+13
2021-05-19Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-...bors-0/+24
2021-05-18std: Attempt again to inline thread-local-init across cratesAlex Crichton-0/+24
2021-05-07Rollup merge of #84409 - mzohreva:mz/tls-dtors-before-join, r=jethrogbDylan DPC-0/+108
2021-05-06join_orders_after_tls_destructors: ensure thread 2 is launched before thread ...Mohsen Zohrevandi-8/+9
2021-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-04-29Use atomics in join_orders_after_tls_destructors testMohsen Zohrevandi-34/+88
2021-04-21Ensure TLS destructors run before thread joins in SGXMohsen Zohrevandi-1/+54
2021-04-21Rollup merge of #84013 - CDirkx:fmt, r=m-ou-seMara Bos-5/+5
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-5/+5
2021-04-18fix aliasing violations in thread_local_const_initRalf Jung-1/+1
2021-04-16std: Add a variant of thread locals with const initAlex Crichton-48/+223
2021-03-27Use DebugStruct::finish_non_exhaustive() in std.Mara Bos-1/+4
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-5/+5
2021-02-10Rollup merge of #79849 - Digital-Chaos:sleep-zero, r=m-ou-seYuki Okushi-0/+9
2021-01-15Update library/std/src/thread/mod.rs James Wright-0/+1
2021-01-15Clarify difference between unix/windows behaviourJames Wright-0/+8
2020-12-18Recommend panic::resume_unwind instead of panicking.Corey Farwell-7/+12
2020-11-22Drop support for cloudabi targetsLzu Tao-1/+0
2020-11-10Merge set_panic and set_print into set_output_capture.Mara Bos-3/+3
2020-11-07Convert a bunch of intra-doc linksCamelid-2/+1
2020-10-22Capture output from threads spawned in testsTyler Mandry-0/+5
2020-10-16Add std::thread::available_concurrencyYoshua Wuyts-0/+163
2020-10-02Rollup merge of #77147 - fusion-engineering-forks:static-mutex, r=dtolnayYuki Okushi-3/+2
2020-09-27Move thread parker to sys_common.Mara Bos-224/+1
2020-09-27Add notes about memory ordering to futex parker implementation.Mara Bos-0/+20
2020-09-27Move linux-specific futex code into `sys` module.Mara Bos-36/+3
2020-09-27Fix warning.Mara Bos-1/+1
2020-09-27Mark unpark() as #[inline].Mara Bos-0/+2
2020-09-27Add fast futex-based thread parker for Linux.Mara Bos-123/+231
2020-09-27Move thread parker to a separate module.Mara Bos-112/+142
2020-09-27Split sys_common::Mutex in StaticMutex and MovableMutex.Mara Bos-3/+2
2020-09-26Auto merge of #74225 - poliorcetics:std-thread-unsafe-op-in-unsafe-fn, r=josh...bors-44/+127
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+2
2020-09-21Fix missing unsafe block for target arch wasm32Alexis Bourget-3/+10
2020-09-21Fix accordingly to reviewAlexis Bourget-22/+20