Dániel Buga
ec6bd27df6
Remove thread-context feature
2023-08-14 08:22:22 +02:00
Dániel Buga
6ab0d71d92
Tweak identifiers and comments
2023-08-12 22:42:50 +02:00
Dániel Buga
d5e66f6f87
Lift thread-context feature restrictions
2023-08-12 22:20:11 +02:00
Dániel Buga
bce250bbdc
Remove unnecessary !Send markers
2023-08-12 22:17:03 +02:00
Dániel Buga
fbf50cdae8
Remove Pender wrapper
2023-08-12 22:13:08 +02:00
Dániel Buga
675b7fb605
POC: allow custom executors
2023-08-12 18:29:56 +02:00
Kaspar Schleiser
54fc933932
embassy-executor: introduce InterruptExecutor::spawner()
2023-06-16 12:59:23 +02:00
Dániel Buga
5fe36b6bb0
Work around xtensa deadlock, take 2
2023-05-13 15:04:02 +02:00
Roy Buitenhuis
32836129f6
re-export main_riscv macro as main for riscv arch.
2023-04-11 14:59:38 +02:00
Dario Nieuwenhuis
d3c4e4a20a
executor: add Pender, rework Cargo features.
...
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).
2023-04-03 03:09:11 +02:00
Dario Nieuwenhuis
10c9cc31b1
Remove unnecessary use of atomic-polyfill.
...
Only use it when CAS is actually needed.
2022-12-23 20:46:49 +01:00
Ulf Lilleengen
50c5cc5db6
fix: revert race condition introduced for riscv
2022-11-23 13:17:05 +01:00
Sijmen Woutersen
e70ae71ecc
restore SIGNAL_WORK_THREAD_MODE
2022-11-12 10:58:37 +01:00
Sijmen Woutersen
6e1120e17e
riscv support
2022-11-10 17:39:41 +01:00
Dario Nieuwenhuis
478f472784
Remove Forever, switch to static_cell.
2022-08-22 16:11:40 +02:00
Dario Nieuwenhuis
5daa173ce4
Split embassy-time from embassy-executor.
2022-08-18 01:22:30 +02:00