about summary refs log tree commit diff
path: root/library/std/src/sync/mpmc
AgeCommit message (Expand)AuthorLines
2025-08-08Fix wrong cache line size of riscv64minxuanz-5/+3
2025-07-02awhile -> a while where appropriateнаб-1/+1
2025-05-22docs: fix typosDannyyy93-1/+1
2025-04-27use generic Atomic type where possibleChristopher Durham-22/+22
2025-04-11sync::mpsc: prevent double free on `Drop`Petros Angelatos-1/+7
2025-04-11sync::mpsc: add miri reproducer of double freePetros Angelatos-0/+5
2025-02-21Use faster thread_local in current_thread_id()Kornel-1/+18
2025-02-09Fix pattern matching mode changes and unsafe_op_in_unsafe_fnMichael Goulet-3/+3
2025-02-04Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=NoratriebJacob Pratt-728/+0
2025-01-27fix doc for std::sync::mpmcusamoi-4/+12
2025-01-26Move std::sync unit tests to integration testsbjorn3-728/+0
2024-11-18std: allow after-main use of synchronization primitivesjoboet-9/+19
2024-11-12Rollup merge of #132869 - lolbinarycat:library-fix-too_long_first_doc_paragra...Matthias Krüger-0/+2
2024-11-10split up the first paragraph of doc comments for better summariesbinarycat-0/+2
2024-11-07Initialize channel `Block`s directly on the heapJosh Stone-4/+4
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-10-02mpmc doctest: make sure main thread waits for child threadsRalf Jung-22/+24
2024-09-30Add multi-producer, multi-consumer channel (mpmc)Obei Sideg-47/+1721
2024-09-25Use `&raw` in the standard libraryJosh Stone-10/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-31Fixed some typos in the standard library documentation/commentsranger-ross-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-11/+4
2024-07-14std: Unsafe-wrap std::syncJubilee Young-36/+48
2024-02-29fix typosIbraheem Ahmed-3/+3
2024-02-29document potential memory leak in unbounded channelIbraheem Ahmed-0/+3
2024-02-26fix race between block initialization and receiver disconnectionIbraheem Ahmed-2/+2
2024-02-24library: use `addr_of!`Pavel Grigorenko-2/+6
2023-07-19avoid tls access while iterating through mpsc thread entriesIbraheem Ahmed-20/+26
2023-07-18support for mips32r6 as a target_arch valuechenx97-0/+2
2023-07-18support for mips64r6 as a target_arch valuechenx97-0/+2
2023-05-03Remove unnecessary Send boundGil Shoshan-1/+1
2023-04-08sync::mpsc: synchronize receiver disconnect with initializationPetros Angelatos-0/+12
2023-03-14std: leak remaining messages in bounded channel if message destructor panicsjoboet-66/+42
2023-02-26std: disconnect senders before discarding messagesjoboet-4/+5
2023-02-17std: drop all messages in bounded channel when destroying the last receiverjoboet-27/+109
2023-01-14remove optimistic spinning from `mpsc::SyncSender`Ibraheem Ahmed-23/+7
2023-01-11rework and document backoff behavior of `sync::mpsc`Ibraheem Ahmed-31/+30
2023-01-10add `SyncSender::send_timeout` testIbraheem Ahmed-1/+1
2023-01-10fix `SyncSender` spinning behaviorIbraheem Ahmed-1/+1
2022-12-28Rollup merge of #104708 - jonasspinner:fix-backoff-doc-to-match-implementatio...fee1-dead-1/+1
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-22rustdoc: Fix backoff doc to match implementationJonas Spinner-1/+1
2022-11-12avoid calling `thread::current` in channel destructorIbraheem Ahmed-13/+11
2022-11-09tidyIbraheem Ahmed-5/+4
2022-11-09spin less in `mpsc::SyncSender::send`Ibraheem Ahmed-1/+1
2022-11-09remove extra spinning from `mpsc` parkerIbraheem Ahmed-15/+0
2022-11-09`sync::mpsc`: quadratic backoffIbraheem Ahmed-2/+3
2022-11-09`sync::mpsc`: reload state after spinning on CAS failureIbraheem Ahmed-8/+8
2022-11-09remove extra spinning from `mpsc::Receiver::recv`Ibraheem Ahmed-26/+6
2022-11-09initial port of crossbeam-channelIbraheem Ahmed-0/+2693