316 Commits

Author SHA1 Message Date
Kat Perez
032898adf5 add a stub implementation for spawn_named
When rtos-trace is not enabled, spawn_named will use spawn instead
2025-05-06 08:27:46 -04:00
Kat Perez
f8f9c38b2e add a task registry to tracing infrastructure 2025-05-06 08:27:46 -04:00
Phil-hacker
3a85ecebef fix rustfmt 2025-04-08 22:30:17 +02:00
Phil-hacker
ce40a39a87 fix compilation on anything not using the feature arch-avr 2025-04-08 22:15:05 +02:00
Phil-hacker
66a02a4f8d fix the avr executor 2025-04-08 22:10:17 +02:00
Phil-hacker
1a4b1a9476 update avr_device 2025-04-08 22:07:36 +02:00
Dario Nieuwenhuis
1eec964637
Merge pull request #4046 from outfoxxed/main-macro-executor
executor: add executor selection to #[embassy_executor::main]
2025-04-07 13:08:33 +00:00
outfoxxed
ef8d168df6
executor: add executor selection to #[embassy_executor::main] 2025-04-06 18:52:32 -07:00
Dario Nieuwenhuis
cee3b49344
Merge pull request #4049 from kaspar030/executor_id
embassy-executor: introduce `Executor::id()`, `Spawner::executor_id()`
2025-04-06 21:55:04 +00:00
Dániel Buga
c04b433991
embassy-sync, executor/wasm: don't select critical-section impl for std 2025-04-06 22:43:32 +02:00
Åke Amcoff
ac4f4ee807 disable critical-section/std for arch-std in embassy-executor 2025-04-05 18:36:04 +02:00
Kaspar Schleiser
89f3566419 embassy_executor: introduce Spawner::executor_id() 2025-04-04 22:32:55 +02:00
Kaspar Schleiser
3f87ce6f50 embassy-executor: introduce Executor::id() 2025-04-04 22:32:55 +02:00
James Munns
b7e1b1ca94 Fix some intra-doc links 2025-04-03 10:35:00 +02:00
James Munns
ef3c1b87d1 Minor docs improvements 2025-04-01 14:35:21 +02:00
James Munns
2e474b7df2 Remove notes about stability 2025-04-01 14:30:36 +02:00
James Munns
3e25a7be86 Small grammar fixes 2025-04-01 14:27:32 +02:00
James Munns
c3efb85b85 Fix task_end callback 2025-04-01 14:23:39 +02:00
James Munns
8a8e450053 Reorder doc comments for format reasons 2025-04-01 14:12:58 +02:00
James Munns
84cd416bed Finish trailing sentence 2025-04-01 14:11:42 +02:00
James Munns
882e2180a4 Add docs, add task_end trace point 2025-04-01 14:06:04 +02:00
Matthew Tran
034e9fc218 Move macro helper functions to embassy-executor 2025-03-29 03:52:00 -05:00
Matthew Tran
c72e2c5d10 Add test 2025-03-29 02:46:32 -05:00
Dario Nieuwenhuis
695a6da322 Statically allocate task pools on stable Rust.
Thanks @0e4ef622 for the awesome idea of how to do it and the first implementation.

Co-Authored-By: Matthew Tran <0e4ef622@gmail.com>
2025-03-28 19:11:53 +01:00
Murmele
e3b0581a87
Fix comment 2025-03-17 11:04:04 +01:00
Martin Marmsoler
edadc28f02 Add possibility to get the id of a task to be able to use it with rtos-trace
Files: spawner.rs
2025-03-14 19:08:50 +01:00
James Sizeland
c1671572b4
improve SpawnError::Busy message 2025-02-03 23:08:55 +00:00
Lukáš Poláček
31b50e6291 Fix year in changelog 2025-01-12 15:06:06 +01:00
Jonas Spinner
38033a2e14
fix typo in executor README.md 2025-01-06 19:28:07 +01:00
Dario Nieuwenhuis
cefdbfab2f Release embassy-executor v0.7.0, embassy-time v0.4.0, embassy-time-driver v0.2.0. 2025-01-02 18:57:40 +01:00
Dániel Buga
44217aa092
Desugar some async fns 2024-12-30 12:13:13 +01:00
wackazong
4c7e1b05a0
Impl core::err::Error for SpawnError 2024-12-23 08:18:18 +01:00
Dániel Buga
ab8ca3f126
Rename ETQD, bump date 2024-12-22 21:00:23 +01:00
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time 2024-12-22 20:27:15 +01:00
Dániel Buga
76d8a896bb
Make poll_to_despawn a no_op 2024-12-17 18:51:22 +01:00
Dániel Buga
2ca374fc9c
Don't force a wake to despawn 2024-12-17 18:47:56 +01:00
Dániel Buga
a011f48769
Make poll_to_despawn non-generic 2024-12-17 18:37:17 +01:00
Dániel Buga
7d5fbe26c9
Update state diagram 2024-12-17 18:17:36 +01:00
Dániel Buga
b51bd9ad04
Update tests 2024-12-17 18:09:51 +01:00
Dániel Buga
8fd08b1e97
Swap poll_fn to allow polling exited tasks 2024-12-17 18:07:06 +01:00
Dániel Buga
edb8f21a74
Take critical section instead of unsafe 2024-12-17 17:53:12 +01:00
Dániel Buga
889b419fc4
Simplify ARM run_enqueue 2024-12-17 17:15:40 +01:00
Dániel Buga
c6ca46c825
Set RUN_QUEUED unconditionally 2024-12-17 16:52:13 +01:00
Dániel Buga
7eac184af0
Document task states and state transitions 2024-12-17 16:47:33 +01:00
Dario Nieuwenhuis
c504ae8d3a
Merge pull request #3656 from bugadani/timer-queue-special
Remove special handling of integrated timer queues and items
2024-12-17 14:52:12 +01:00
Dario Nieuwenhuis
fc25fca00b Remove WakerHack for good.
Now that 1.83 xtensa is out, we can remove it unconditionally.
2024-12-17 13:06:31 +01:00
Dániel Buga
c3c571e01e
Remove test implementation of schedule_wake 2024-12-16 20:37:02 +01:00
Dániel Buga
c90d048ecb
Remove TIMER_QUEUED 2024-12-16 20:37:02 +01:00
Dániel Buga
71812d0c9b
Changelog 2024-12-16 20:37:01 +01:00
Dániel Buga
fbd0fe06bd
Remove special handling of integrated timer items 2024-12-16 20:37:01 +01:00