| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Rely on atomic load-store on all targets | Dániel Buga | 2024-12-16 | 1 | -62/+10 | |
| | | ||||||
| * | Fix racy access of TaskHeader::executor | Dániel Buga | 2024-12-16 | 1 | -7/+63 | |
| | | ||||||
| * | Only lock once to wake a task | Dániel Buga | 2024-12-16 | 1 | -9/+11 | |
| | | ||||||
| * | Fix comments and tweak task exit | Dániel Buga | 2024-12-15 | 1 | -6/+15 | |
| | | ||||||
| * | Make sure an exited task does not get stuck in a timer queue | Dániel Buga | 2024-12-15 | 1 | -0/+14 | |
| | | ||||||
| * | Make `integrated-timers` the default, remove Cargo feature. | Dario Nieuwenhuis | 2024-12-15 | 1 | -7/+0 | |
| | | ||||||
| * | Prevent task from respawning while in the timer queue | Dániel Buga | 2024-12-13 | 1 | -1/+35 | |
| | | ||||||
| * | Do not access task header | Dániel Buga | 2024-12-10 | 1 | -0/+6 | |
| | | ||||||
| * | Refactor integrated-timers | Dániel Buga | 2024-12-10 | 1 | -109/+26 | |
| | | ||||||
| * | Extend tracing api to support executor id and end task | Ulf Lilleengen | 2024-12-09 | 1 | -40/+12 | |
| | | | | | | | Allow applications to provide a trace implementation that only needs to implement APIs used by the embassy executor, and provide more context in the event of multiple executors being used. | |||||
| * | Add initialize | Dániel Buga | 2024-11-19 | 1 | -5/+16 | |
| | | ||||||
| * | Only set callback once | Dániel Buga | 2024-11-19 | 1 | -5/+7 | |
| | | ||||||
| * | Fix warnings in recent nightly. | Dario Nieuwenhuis | 2024-03-20 | 1 | -1/+1 | |
| | | ||||||
| * | fix: removed trailing comma | xgroleau🐢 | 2024-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | fix: missing 0 | xgroleau🐢 | 2024-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | fix: compilation for rtos trace | xgroleau🐢 | 2024-02-08 | 1 | -1/+11 | |
| | | ||||||
| * | fix: rtos-usage time missing | xgroleau🐢 | 2024-02-06 | 1 | -1/+1 | |
| | | ||||||
| * | time: split queue driver too, don't reexport drivers. | Dario Nieuwenhuis | 2024-01-11 | 1 | -14/+13 | |
| | | ||||||
| * | executor: rename macro crate to embassy-executor-macros, bump it. | Dario Nieuwenhuis | 2023-12-07 | 1 | -2/+2 | |
| | | ||||||
| * | executor: add faster ARM-specific impl. | Dario Nieuwenhuis | 2023-11-15 | 1 | -1/+2 | |
| | | | | | Does a wake+poll in 79 cycles in nrf52840. | |||||
| * | executor: remove atomic-polyfill. | Dario Nieuwenhuis | 2023-11-15 | 1 | -43/+15 | |
| | | ||||||
| * | write to TaskStorage::future via inline(never) fn to encourage RVO | Hailey Somerville | 2023-09-14 | 1 | -1/+1 | |
| | | ||||||
| * | Make AvailableTask public, deduplicate | Dániel Buga | 2023-08-21 | 1 | -50/+63 | |
| | | ||||||
| * | Update docs | Dániel Buga | 2023-08-14 | 1 | -24/+25 | |
| | | ||||||
| * | Hide Pender | Dániel Buga | 2023-08-14 | 1 | -2/+2 | |
| | | ||||||
| * | Remove interrupt executor, remove PenderContext | Dániel Buga | 2023-08-14 | 1 | -12/+5 | |
| | | ||||||
| * | Make PenderContext actually pointer-size | Dániel Buga | 2023-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | Make PenderContext opaque | Dániel Buga | 2023-08-14 | 1 | -2/+21 | |
| | | ||||||
| * | Remove the Pender enum | Dániel Buga | 2023-08-14 | 1 | -41/+7 | |
| | | ||||||
| * | Remove pender-callback | Dániel Buga | 2023-08-14 | 1 | -19/+0 | |
| | | ||||||
| * | Remove thread-context feature | Dániel Buga | 2023-08-14 | 1 | -7/+0 | |
| | | ||||||
| * | Remove Pender wrapper | Dániel Buga | 2023-08-12 | 1 | -21/+21 | |
| | | ||||||
| * | POC: allow custom executors | Dániel Buga | 2023-08-12 | 1 | -4/+31 | |
| | | ||||||
| * | add wake_task_no_pend for expired timer enqueue inside run_queue | loris | 2023-08-05 | 1 | -1/+26 | |
| | | ||||||
| * | Allow clearing finished task from timer queue | Dániel Buga | 2023-07-12 | 1 | -0/+3 | |
| | | ||||||
| * | executor: Replace unsound critical sections with atomics | Grant Miller | 2023-04-05 | 1 | -15/+13 | |
| | | ||||||
| * | executor: add Pender, rework Cargo features. | Dario Nieuwenhuis | 2023-04-03 | 1 | -21/+76 | |
| | | | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt). | |||||
| * | executor,sync: add support for turbo-wakers. | Dario Nieuwenhuis | 2023-03-30 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a `core` patch to make wakers 1 word (the task pointer) instead of 2 (task pointer + vtable). It allows having the "waker optimization" we had a while back on `WakerRegistration/AtomicWaker`, but EVERYWHERE, without patching all crates. Advantages: - Less memory usage. - Faster. - `AtomicWaker` can actually use atomics to load/store the waker, No critical section needed. - No `dyn` call, which means `cargo-call-stack` can now see through wakes. Disadvantages: - You have to patch `core`... - Breaks all executors and other things that create wakers, unless they opt in to using the new `from_ptr` API. How to use: - Run this shell script to patch `core`. https://gist.github.com/Dirbaio/c67da7cf318515181539122c9d32b395 - Enable `build-std` - Enable `build-std-features = core/turbowakers` - Enable feature `turbowakers` in `embassy-executor`, `embassy-sync`. - Make sure you have no other crate creating wakers other than `embassy-executor`. These will panic at runtime. Note that the patched `core` is equivalent to the unpached one when the `turbowakers` feature is not enabled, so it should be fine to leave it there. | |||||
| * | executor: Use AtomicPtr for signal_ctx, removes 1 unsafe. | Dario Nieuwenhuis | 2023-03-27 | 1 | -6/+4 | |
| | | ||||||
| * | executor: deduplicate doc comments. | Dario Nieuwenhuis | 2023-03-27 | 1 | -24/+1 | |
| | | ||||||
| * | executor: Allow TaskStorage to auto-implement `Sync` | Grant Miller | 2023-03-20 | 1 | -44/+112 | |
| | | ||||||
| * | Make `poll_fn` lazily initialized again | Grant Miller | 2023-01-31 | 1 | -3/+5 | |
| | | ||||||
| * | Add internal `AvailableTask` type | Grant Miller | 2023-01-31 | 1 | -28/+40 | |
| | | ||||||
| * | Replace the pointer in `TaskHeader` with an `Option<&Executor>` | Grant Miller | 2023-01-31 | 1 | -5/+5 | |
| | | ||||||
| * | Set `poll_fn` in `TaskStorage::new` | Grant Miller | 2023-01-31 | 1 | -21/+14 | |
| | | ||||||
| * | Make `wake_task` safe | Grant Miller | 2023-01-29 | 1 | -9/+7 | |
| | | ||||||
| * | executor: Replace `NonNull<TaskHeader>` with `TaskRef` | Grant Miller | 2023-01-29 | 1 | -18/+45 | |
| | | ||||||
| * | Remove the _embassy_time_schedule_wake magic | ivmarkov | 2022-10-26 | 1 | -6/+13 | |
| | | ||||||
| * | Change time Driver contract to never fire the alarm synchronously | ivmarkov | 2022-10-24 | 1 | -32/+40 | |
| | | ||||||
| * | Remove warnings | Ulf Lilleengen | 2022-08-22 | 1 | -2/+2 | |
| | | ||||||
