[Feature Request] Timers and pended functions should be separated
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 15/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- c
- Domínio
- operating-systems
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 4.6k
- Forks
- 1.6k
- Merge médio
- 2d 22h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de FreeRTOS/FreeRTOS-Kernel
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FreeRTOS/FreeRTOS-Kernel#1542 ·
Mantenedores costumam responder em até 3 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FreeRTOS/FreeRTOS-Kernel#1520 ·
Mantenedores costumam responder em até 3 dias
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
FreeRTOS/FreeRTOS-Kernel#1494 · 3 comentários ·
Mantenedores costumam responder em até 3 dias
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
FreeRTOS/FreeRTOS-Kernel#1554 ·
Mantenedores costumam responder em até 3 dias
-
[BUG] event_wait_timed can't return falseTalvez já em andamento @TedLyngmo assumiu há 39 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 38/100
FreeRTOS/FreeRTOS-Kernel#1546 ·
Mantenedores costumam responder em até 3 dias
Todas as issues de FreeRTOS/FreeRTOS-Kernel
Issues semelhantes
-
RecompLauncher supportAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
shinyquagsire23/OpenJKDF2#540 ·
Mantenedores costumam responder em até 12 dias
-
Prison work hall: laundry and kitchen stations stand at bare walls, the hatch has no counter or signAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Life-Framework/Life-Framework#5939 ·
Mantenedores costumam responder em até 1 dia
-
autoconf failes to find libsodium even when present due to implicit function declarationTalvez já em andamento @coderjoe assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 13 dias
-
SessionInterfaceHandler is throwing a deprecation notice as a warning instead of a deprecationAbertaBug Status: Needs Triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
enhancement_package: a site operand of another JSON type raises TypeError, not a named refusalAbertabug python
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 87/100
Jstar269/nakagawa-recomp#3521 ·
Mantenedores costumam responder em até 1 dia