Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will tasks with the same priority undergo time-slice rotation? 同优先级任务是否会时间片轮转? (IDFGH-14713) #15453

Closed
3 tasks done
goukisun opened this issue Feb 23, 2025 · 4 comments
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@goukisun
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

espidf-v5.1.1
From the document, it is seen that FreeRTOS supports time-sliced round-robin scheduling for tasks with the same priority. However, in the actual running of the demo, it will not rotate.
Do I need any special settings?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 23, 2025
@github-actions github-actions bot changed the title Will tasks with the same priority undergo time-slice rotation? 同优先级任务是否会时间片轮转? Will tasks with the same priority undergo time-slice rotation? 同优先级任务是否会时间片轮转? (IDFGH-14713) Feb 23, 2025
@goukisun
Copy link
Author

Got it wrong, it supports time-sliced round-robin scheduling

@SoucheSouche
Copy link
Collaborator

Hi @goukisun,
In ESP-IDF preemption and time-slicing are always enabled, it is not possible to disable one or the other. Can you tell me what demo you are using? There is no example provided in ESP-IDF demonstrating this feature.

@goukisun
Copy link
Author

@SoucheSouche
Sorry, I made a mistake

@SoucheSouche
Copy link
Collaborator

@goukisun, no problem. I will close the issue now.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants