[Feature Request] vApplicationTickHook Signals Context Switch Required

Abierto
#1,353 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
c

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C
Estrellas
4.6k
Forks
1.6k
Merge medio
2 d 22 h
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FreeRTOS/FreeRTOS-Kernel

Todos los issues de FreeRTOS/FreeRTOS-Kernel

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.