| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Generalize AtomicWaker | Dániel Buga | 2024-11-22 | 1 | -10/+32 |
| | | |||||
| * | remove option | Bronson | 2024-11-10 | 1 | -3/+3 |
| | | |||||
| * | fix formatting | Bronson | 2024-11-10 | 1 | -1/+1 |
| | | |||||
| * | added watch new_with() | Bronson | 2024-11-10 | 1 | -15/+27 |
| | | |||||
| * | add default data to watch new() | Bronson | 2024-11-10 | 1 | -16/+16 |
| | | |||||
| * | Merge pull request #3358 from mammothbane/main | Dario Nieuwenhuis | 2024-10-21 | 2 | -0/+93 |
| |\ | | | | | embassy_sync: `Sink` adapter for `pubsub::Pub` | ||||
| | * | embassy_sync: `Sink` adapter for `pubsub::Pub` | Nathan Perry | 2024-09-20 | 2 | -0/+93 |
| | | | | | | | | | | | | | | | | | Corresponding to the `Stream` impl for `pubsub::Sub`. Notable difference is that we need a separate adapter type to store the pending item, i.e. we can't `impl Sink for Pub` directly. Instead a method `Pub::sink(&self)` is exposed, which constructs a `PubSink`. | ||||
| * | | embassy-sync: fixed some clippy warnings | Oliver Rockstedt | 2024-10-07 | 3 | -3/+4 |
| | | | |||||
| * | | Add capacity, free_capacity, clear, len, is_empty and is_full functions to ↵ | Oliver Rockstedt | 2024-10-07 | 1 | -0/+84 |
| | | | | | | | | | priority_channel::{Sender, Receiver} | ||||
| * | | Add capacity, free_capacity, clear, len, is_empty and is_full functions to ↵ | Oliver Rockstedt | 2024-10-07 | 1 | -0/+84 |
| | | | | | | | | | Channel::{Sender, Receiver} | ||||
| * | | Merge pull request #3393 from sourcebox/sync-additions | Dario Nieuwenhuis | 2024-10-06 | 1 | -3/+88 |
| |\ \ | | | | | | | | | | embassy-sync: add clear, len, is_empty and is_full functions to zerocopy_channel | ||||
| | * | | embassy-sync: renamed field len to capacity on zerocopy_channel state | Oliver Rockstedt | 2024-10-06 | 1 | -5/+6 |
| | | | | |||||
| | * | | embassy-sync: fix len calculation for zerocopy_channel | Oliver Rockstedt | 2024-10-06 | 1 | -1/+9 |
| | | | | |||||
| | * | | embassy-sync: add clear, len, is_empty and is_full functions to zerocopy_channel | Oliver Rockstedt | 2024-10-05 | 1 | -0/+76 |
| | | | | |||||
| * | | | docs: fix Sender/Receiver typo | Chris Maniewski | 2024-10-05 | 1 | -2/+2 |
| |/ / | |||||
| * | | Reverse generics order, remove spin_get | Peter Krull | 2024-09-24 | 1 | -26/+2 |
| | | | |||||
| * | | Added SealedWatchBehavior to limit access to core functions | Peter Krull | 2024-09-23 | 1 | -66/+71 |
| | | | |||||
| * | | Discontinue peek, add AnonReceiver | Peter Krull | 2024-09-23 | 1 | -151/+289 |
| | | | |||||
| * | | Merge branch 'embassy-rs:main' into multi-signal | Peter Krull | 2024-09-23 | 15 | -77/+1806 |
| |\| | |||||
| | * | embassy_sync/pubsub: fix PubSubBehavior visibility | Nathan Perry | 2024-09-19 | 1 | -28/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/embassy-rs/embassy/pull/2969 appears to have broken direct `publish_immediate()` on `pubsub::Channel`, as it functionally made `PubSubBehavior` private and didn't delegate this method to the new (private) `SealedPubSubBehavior`. This change moves `publish_immediate`, `capacity`, and `is_full` from `SealedPubSubBehavior` to `PubSubBehavior` in order to restore them to `pub` visibility. | ||||
| | * | embassy-sync: more unit-test for LazyLock | wanglei | 2024-07-31 | 1 | -0/+47 |
| | | | | | | | | | Signed-off-by: wanglei <[email protected]> | ||||
| | * | embassy-sync: fix the data of LazyLock never drop | wanglei | 2024-07-31 | 1 | -10/+31 |
| | | | | | | | | | | | | | | | | | | | Using `union` can save more space. And the `MaybeUninit<T>` will never drop the T, when dropping the `MaybeUninit<T>`. Fixed it. Signed-off-by: wanglei <[email protected]> | ||||
| | * | embassy-sync: add LazyLock | Samuel Tardieu | 2024-07-29 | 2 | -0/+85 |
| | | | | | | | | | `LazyLock` is inspired by Rust 1.80.0's `std::sync::LazyLock` type. | ||||
| | * | Reduced define for 'unreachable!' to a single macro rule | Tarun Singh | 2024-07-17 | 1 | -10/+6 |
| | | | |||||
| | * | Add collapse_debuginfo to fmt.rs macros. | Dario Nieuwenhuis | 2024-06-17 | 1 | -0/+17 |
| | | | | | | | | | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+. | ||||
| | * | Merge pull request #3054 from dvdsk/clonable-errors | Dario Nieuwenhuis | 2024-06-09 | 1 | -1/+1 |
| | |\ | | | | | | | | | | Add Clone and Copy to Error types | ||||
| | | * | Add Clone and Copy to Error types | dvdsk | 2024-06-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | None of them are `non-exaustative`, they are all small enough to be copy (I estimate none are larger than 4 bytes). | ||||
| | * | | embassy-sync: remove T: Send for Signal<M, T> | Jesse Stuart | 2024-06-05 | 1 | -1/+1 |
| | |/ | |||||
| | * | Emit cargo:rustc-check-cfg instructions from build.rs | Jan Špaček | 2024-05-30 | 1 | -1/+1 |
| | | | |||||
| | * | embassy-sync: Add clear function to all channels | Oliver Rockstedt | 2024-05-22 | 5 | -0/+49 |
| | | | |||||
| | * | embassy-sync: fixed some documentation typos | Oliver Rockstedt | 2024-05-22 | 3 | -5/+5 |
| | | | |||||
| | * | embassy-sync: fixed some clippy warnings | Oliver Rockstedt | 2024-05-21 | 4 | -8/+8 |
| | | | |||||
| | * | Expose new length functions in the subs and pubs | Dion Dokter | 2024-05-20 | 3 | -33/+138 |
| | | | |||||
| | * | Make behaviour trait sealed | Dion Dokter | 2024-05-20 | 1 | -2/+9 |
| | | | |||||
| | * | embassy-sync: Add capacity, free_capacity, len, is_empty and is_full ↵ | Oliver Rockstedt | 2024-05-18 | 1 | -0/+39 |
| | | | | | | | | | functions to PubSubChannel | ||||
| | * | embassy-sync: Add capacity, free_capacity, len, is_empty and is_full ↵ | Oliver Rockstedt | 2024-05-18 | 1 | -0/+39 |
| | | | | | | | | | functions to PriorityChannel | ||||
| | * | embassy-sync: Add capacity and free_capacity functions to Channel | Oliver Rockstedt | 2024-05-18 | 1 | -0/+12 |
| | | | |||||
| | * | Fix: typo | QWS | 2024-05-10 | 1 | -1/+1 |
| | | | |||||
| | * | embassy_sync::Mutex: Implement traits to match std | W Etheredge | 2024-05-05 | 1 | -1/+77 |
| | | | |||||
| | * | Adding ready_to_receive to Channel and Receiver | nerwalt | 2024-04-19 | 1 | -0/+35 |
| | | | | | | | | | Adding ReceiveReadyFuture | ||||
| | * | Add map method | Caio | 2024-04-14 | 1 | -0/+133 |
| | | | |||||
| | * | embassy-sync: Add len, is_empty and is_full functions to Channel. | Oliver Rockstedt | 2024-04-08 | 1 | -0/+27 |
| | | | |||||
| | * | Fix `FairSemaphore` bugs | Alex Moon | 2024-04-03 | 1 | -34/+102 |
| | | | | | | | | | | | - `acquire` and `acquire_all` futures were `!Send`, even for `M: RawMutex + Send` due to the captured `Cell`. - If multiple `acquire` tasks were queued, waking the first would not wake the second, even if there were permits remaining after the first `acquire` completed. | ||||
| | * | Semaphore synchronization primitive | Alex Moon | 2024-03-30 | 2 | -0/+705 |
| | | | | | | | | | This provides both a "greedy" and "fair" async semaphore implementation. | ||||
| | * | Merge pull request #2651 from peterkrull/once_lock | Ulf Lilleengen | 2024-03-22 | 2 | -0/+237 |
| | |\ | | | | | | | | | | Add `OnceLock` sync primitive | ||||
| | | * | This one is for ci/rustfmt | Peter Krull | 2024-03-03 | 1 | -2/+1 |
| | | | | |||||
| | | * | Add OnceLock sync primitive | Peter Krull | 2024-03-03 | 2 | -0/+238 |
| | | | | |||||
| | * | | fmt: disable "unused" warnings. | Dario Nieuwenhuis | 2024-03-20 | 1 | -2/+1 |
| | | | | |||||
| | * | | Doc update: signaled does not clear signal | Noah Bliss | 2024-03-20 | 1 | -1/+1 |
| | | | | | | | | | | signaled does not clear signal (doc update) | ||||
| | * | | rustfmt | Ulf Lilleengen | 2024-03-12 | 1 | -7/+3 |
| | | | | |||||
