aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/channel.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-13/+17
|
* chore: add more `Debug` impls to `embassy-sync`, particularly on `OnceLock`Curly2025-08-191-0/+7
| | | | All tests green
* fix: prepare embassy-sync 0.7.1 releaseUlf Lilleengen2025-08-121-0/+5
| | | | * Add newtype for moved type to preserve API compat
* add embassy sync channel example for message passing between interrupt and taskRobin Mueller2025-07-091-0/+25
|
* Remove futures-util where unnecessaryDániel Buga2025-06-161-2/+2
|
* Rename SendableDynamicReceiver to SendDynamicReceiverCorey Schuhen2025-05-291-7/+7
|
* Merge pull request #4262 from cschuhen/send_on_dynamic_channelUlf Lilleengen2025-05-281-0/+106
|\ | | | | | | Enable Sync and Send for DynamicSender and DynamicReceiver.
| * Make Sync capable versions of DynamicSender and DynamicReceiver.Corey Schuhen2025-05-281-0/+106
| | | | | | | | | | | | | | | | DynamicSender and DynamicReceiver, just seem to be a fat pointer to a Channel which is already protected by it's own Mutex already. In fact, you can share the Channel already betwen threads and create Dynamic*er's in the target threads. It should be safe to share the Dynamic*er's directly. Can only be used when Mutex M of channel supoorts Sync.
* | feat: add support for channel peekUlf Lilleengen2025-05-281-0/+78
|/ | | | | | | Add support for peeking into the front of the channel if the value implements Clone. This can be useful in single-receiver situations where you don't want to remove the item from the queue until you've successfully processed it.
* Merge pull request #3797 from stargazing-dino/add-channel-streamDario Nieuwenhuis2025-02-191-0/+22
|\ | | | | Add stream impl for embassy-sync Channels
| * add stream implRex Magana2025-01-221-0/+22
| |
* | embassy-sync: fix clear() to wake sendersibuki20032025-01-261-0/+3
|/
* Add capacity, free_capacity, clear, len, is_empty and is_full functions to ↵Oliver Rockstedt2024-10-071-0/+84
| | | | Channel::{Sender, Receiver}
* embassy-sync: Add clear function to all channelsOliver Rockstedt2024-05-221-0/+9
|
* embassy-sync: fixed some clippy warningsOliver Rockstedt2024-05-211-4/+4
|
* embassy-sync: Add capacity and free_capacity functions to ChannelOliver Rockstedt2024-05-181-0/+12
|
* Adding ready_to_receive to Channel and Receivernerwalt2024-04-191-0/+35
| | | | Adding ReceiveReadyFuture
* embassy-sync: Add len, is_empty and is_full functions to Channel.Oliver Rockstedt2024-04-081-0/+27
|
* rustfmtUlf Lilleengen2024-03-121-7/+3
|
* Add conversion into dyn variants for channel futuresUlf Lilleengen2024-03-121-0/+19
|
* Add constructor for dynamic channelPeter Krull2024-03-021-1/+21
|
* revert module changes, reexport heapless relevant itemsScott Mabin2023-11-201-5/+3
|
* more clean up, refactor channel into module to share codeScott Mabin2023-11-181-3/+5
|
* reduce duplication further by sharing Dynamic sender/receiverScott Mabin2023-11-181-2/+2
|
* Reduce duplication, fix testsScott Mabin2023-11-181-1/+1
|
* Use fmt::unwrapDániel Buga2023-09-021-1/+1
|
* Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-221-44/+44
|
* Implement Channel::poll_receive(..) -> Poll<T>Ruben De Smet2023-08-111-4/+39
|
* Channel poll methods return Poll instead of boolRuben De Smet2023-08-111-14/+22
|
* Expose poll_ready_to_{send,receive} in Sender/ReceiverRuben De Smet2023-08-111-0/+39
|
* embassy-sync: manual Copy impls for channel and pipeSam Lakerveld2023-08-081-4/+8
|
* wpan: fully implement initial draft conceptxoviat2023-07-181-0/+22
|
* Add `#[must_use]` to all futuresGrant Miller2023-02-241-0/+4
|
* sync: flatten module structure.Dario Nieuwenhuis2022-08-221-0/+596