[Feature Request] vApplicationTickHook Signals Context Switch Required

Aperta
#1,353 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c

Direzione di ricerca

This is a design question, not a ready task. Start by reading how vApplicationTickHook is called from the kernel's tick handling and where the FromISR calls that may need a context switch are made. The open decisions are the new parameter's shape and the version bump, and the thread has no comments or maintainer decision yet. Done would mean an agreed signature and a proposal the maintainers accept.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.
The vApplicationTickHook function cannot signal if a task switch is required. This is important as several FromISR methods can result in a task switch being needed.

NOTE: This will require a minor or major version bump as this is not backwards compatible with the existing vApplicationTickHook signature.

Describe the solution you'd like
Add a parameter to the vApplicationTickHook function allowing the function to signal a context switch is required.

Describe alternatives you've considered
N/A - alternatives are possible. This is the cleanest change for all FreeRTOS users.

How many devices will this feature impact?
See user responses.

What are your project timelines?
See user responses

Additional context
https://forums.freertos.org/t/using-vapplicationtickhook/2632

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.

Lingua principale
C
Stelle
4.6k
Fork
1.6k
Merge medio
2g 22h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FreeRTOS/FreeRTOS-Kernel

Tutte le issue di FreeRTOS/FreeRTOS-Kernel

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.