aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src
Commit message (Collapse)AuthorAgeFilesLines
* Add `#[must_use]` to all futuresGrant Miller2023-02-242-0/+6
|
* sync: Fix nightly feature compilation after upgrade to embedded-io 0.4.0Gabriel Smith2022-11-272-57/+20
|
* sync/signal: Implement Default for SignalMatt Johnston2022-11-221-0/+9
|
* Derive Default for WakerRegistrationMatt Johnston2022-11-061-1/+1
| | | | This simplifies creating arrays of WakerRegistrations
* Update Rust nightly.Dario Nieuwenhuis2022-10-261-9/+9
|
* Forgot to add space function to immediate publisherDion Dokter2022-10-051-0/+8
|
* Went back to named futures but now with must_useDion Dokter2022-09-293-7/+8
|
* Futures in pub & sub are now awaited instead of returned for better user ↵Dion Dokter2022-09-293-5/+92
| | | | | | compiler diagnostics. Added functions for reading how many messages are available
* Remove default, reorder generic paramsivmarkov2022-09-251-9/+10
|
* Remove default, reorder generic paramsivmarkov2022-09-241-1/+0
|
* Parameterize Signal with RawMutexivmarkov2022-09-241-28/+41
|
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-222-4/+3
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+1
| | | | Removes feature(generic_associated_types)
* Make rustfmt happyJoakim Hulthe2022-09-161-1/+3
|
* Add .into_inner() and .get_mut() to MutexJoakim Hulthe2022-09-161-0/+14
|
* sync/signal: wake old waker on overflow instead of panicking.Dario Nieuwenhuis2022-09-121-1/+5
| | | | | | This makes behavior consistent with `WakerRegistration`. It allows canceling `wait` in one task and then calling `wait` in another. If two tasks are `wait`ing concurrently the signal will be received by only one of them, randomly.
* Add README for embassy-syncUlf Lilleengen2022-08-231-1/+1
|
* Fix warnings after crate splitUlf Lilleengen2022-08-231-2/+2
|
* sync: flatten module structure.Dario Nieuwenhuis2022-08-227-9/+6
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-2216-0/+3156