[Feature Request] Timers and pended functions should be separated
Maintainer antworten meist innerhalb von 3 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 15/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- c
- Bereich
- operating-systems
Rechercherichtung
The payload names no files or functions, only the software timer module, the timer service (daemon) task and the pended-function mechanism. Start by finding how the kernel's timer service task dispatches pended functions, then decide whether they can get their own task. Done would need a design agreed with maintainers first, since the author's implementation was never posted as a pull request.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is your feature request related to a problem? Please describe.
Currently, the software timers also include the functionality of "pended functions". This is useful if one wants to defer the execution of lengthy or less important functions to the daemon task, i.e. the timer service task. While the functionality of these "pended functions" is very useful, having it combined with the timer service task has a couple drawbacks:
- if one wants to use the pended functions, the timer module must be included as well. Decoupling of these two functionalitites, which are in fact two completely different things, would be great.
- if software timers and pended functions are used at the same time, this can lead to problems if one of the pended function takes longer than the time required until the next timer is ready. Assume the following scenario: a software timer is configured that should fire in 2 ms. Further, a pended function is installed, whose execution would take 3 ms. In that case, the timer would be delayed. It would make sense to have a task whose priority is just above the idle task, and then defer lengthy operations to this task using the pended functions. The timer task then would have a priority that is higher than this, such that it will not be interrupted by long operations.
Describe the solution you'd like
There should be two separate tasks for the pended functions and the timers such that one can use either one alone, or both.
I have implemented this already and will post a PR if this is considered useful.
Describe alternatives you've considered
Use pended functions from the timer module.
How many devices will this feature impact?
N/A
What are your project timelines?
N/A
Additional context
none
If you have the same (or similar) feature request, please upvote this issue with thumbs up 👍
and use the comments section to provide answers to the questions above.
- Vorherrschende Sprache
- C
- Sterne
- 4.6k
- Forks
- 1.6k
- Ø Merge
- 2 T. 22 Std.
- Gemergte PRs (30 T.)
- 4
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus FreeRTOS/FreeRTOS-Kernel
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
FreeRTOS/FreeRTOS-Kernel#1542 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
FreeRTOS/FreeRTOS-Kernel#1520 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
FreeRTOS/FreeRTOS-Kernel#1494 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 3 Tagen
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
FreeRTOS/FreeRTOS-Kernel#1554 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
[BUG] event_wait_timed can't return falseEvtl. vergeben @TedLyngmo hat das vor 39 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 38/100
FreeRTOS/FreeRTOS-Kernel#1546 ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in FreeRTOS/FreeRTOS-Kernel
Ähnliche Issues
-
RecompLauncher supportOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
shinyquagsire23/OpenJKDF2#540 ·
Maintainer antworten meist innerhalb von 12 Tagen
-
Prison work hall: laundry and kitchen stations stand at bare walls, the hatch has no counter or signOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Life-Framework/Life-Framework#5939 ·
Maintainer antworten meist innerhalb von 1 Tag
-
autoconf failes to find libsodium even when present due to implicit function declarationEvtl. vergeben @coderjoe hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 13 Tagen
-
SessionInterfaceHandler is throwing a deprecation notice as a warning instead of a deprecationOffenBug Status: Needs Triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement_package: a site operand of another JSON type raises TypeError, not a named refusalOffenbug python
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
Jstar269/nakagawa-recomp#3521 ·
Maintainer antworten meist innerhalb von 1 Tag