summary refs log tree commit diff
path: root/library/std/src/thread/mod.rs
AgeCommit message (Expand)AuthorLines
2024-11-19Add tracking issue.Mara Bos-2/+2
2024-11-19Add thread Builder::no_hooks().Mara Bos-3/+19
2024-11-19Update thread spawn hooks.Mara Bos-5/+2
2024-11-19Use add_spawn_hook for libtest's output capturing.Mara Bos-4/+0
2024-11-19Add std::thread::add_spawn_hook.Mara Bos-0/+11
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-10-19Remove the Arc rt::init allocation for thread infoGnomedDev-53/+117
2024-10-12std: fix stdout-before-mainjoboet-11/+13
2024-10-02std: make `thread::current` available in all `thread_local!` destructorsjoboet-93/+35
2024-09-30Rollup merge of #129638 - nickrum:wasip2-net, r=alexcrichtonTrevor Gross-1/+1
2024-09-29Auto merge of #128321 - BatmanAoD:catch-unwind-doc-update, r=Mark-Simulacrumbors-1/+26
2024-09-29Fix std tests for wasm32-wasip2 targetNicola Krumschmidt-1/+1
2024-09-25Use `&raw` in the standard libraryJosh Stone-4/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-18Rollup merge of #97524 - ibraheemdev:thread-raw, r=ibraheemdevJubilee-0/+48
2024-09-17add `Thread::{into_raw, from_raw}`Ibraheem Ahmed-0/+48
2024-09-15update docs for `catch_unwind` & related funcsKyle J Strand-1/+26
2024-09-03replace placeholder versionBoxy-1/+1
2024-08-16Stabilize std::thread::Builder::spawn_uncheckedDavid Tolnay-2/+1
2024-08-06Remove unused lifetime parameter from spawn_uncheckedDavid Tolnay-8/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+3
2024-07-26Fix doc nitsJohn Arundel-2/+2
2024-07-24Rollup merge of #128135 - joboet:reduplicate_tls, r=tgross35Matthias Krüger-16/+8
2024-07-24Rollup merge of #127733 - GrigorenkoPV:don't-forget, r=AmanieuMatthias Krüger-5/+4
2024-07-24std: use duplicate thread local state in testsjoboet-16/+8
2024-07-20Rollup merge of #127918 - ChrisDenton:thread-name-string, r=joboetMatthias Krüger-23/+51
2024-07-18Move ThreadName conversions to &cstr/&strChris Denton-6/+19
2024-07-18Style changeChris Denton-3/+3
2024-07-18Make `Thread::new_inner` a safe functionChris Denton-6/+4
2024-07-18Rollup merge of #124881 - Sp00ph:reentrant_lock_tid, r=joboetMatthias Krüger-3/+29
2024-07-18Update `ReentrantLock` implementation, add `CURRENT_ID` thread local.Markus Everling-3/+29
2024-07-18Safely enforce thread name requirementsChris Denton-11/+28
2024-07-15lib: replace some `mem::forget`'s with `ManuallyDrop`Pavel Grigorenko-5/+4
2024-06-16std: move `sys_common::backtrace` to `sys`joboet-1/+1
2024-06-04Pass function for `Thread` as `Send` to `Thread::imp`Raoul Strackx-2/+3
2024-05-23std: rewrite native thread-local storagejoboet-1/+1
2024-05-04Rollup merge of #124159 - joboet:move_pal_thread_parking, r=ChrisDentonMatthias Krüger-1/+1
2024-05-04Rollup merge of #123356 - joboet:set_current_size, r=ChrisDentonMatthias Krüger-2/+7
2024-05-02std: move thread parking to `sys::sync`joboet-1/+1
2024-04-14Rollup merge of #123879 - beetrees:missing-unsafe, r=Mark-SimulacrumMatthias Krüger-13/+20
2024-04-13Add missing `unsafe` to internal `std::thread::Thread` creation functionsbeetrees-13/+20
2024-04-11std: remove `sys_common::thread`joboet-5/+22
2024-04-08std: update abort message in `thread::set_current`joboet-1/+1
2024-04-06Auto merge of #123433 - GnomedDev:remove-threadname-alloc, r=joboetbors-3/+26
2024-04-05Revert #121666Chris Denton-3/+1
2024-04-04Remove rt::init allocation for thread nameDavid Thomas-3/+26
2024-04-03std: add comment about abort motivationjoboet-0/+2
2024-04-02std: reduce code size of `set_current`joboet-2/+5
2024-03-31std: move `thread::current` TLS variable out of `thread_info`joboet-8/+24
2024-02-28std: move thread local implementation to `sys`joboet-1/+1