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

Fix inaccurate ticks in windows port #142

Merged
merged 1 commit into from
Aug 27, 2020
Merged

Conversation

cobusve
Copy link
Member

@cobusve cobusve commented Aug 27, 2020

Root cause: Sleep() in Windows is not guaranteed to be realtime. Usage of Sleep()
was causing ticks in Windows port to be incorrect.
Solution: Use Waitable Timer in Windows for more accuracy.

Contribution by leegeth

@gkwicker gkwicker merged commit d85fd46 into FreeRTOS:master Aug 27, 2020
cobusve added a commit to cobusve/FreeRTOS-Kernel that referenced this pull request Aug 27, 2020
cobusve added a commit that referenced this pull request Aug 27, 2020
alfred2g pushed a commit to alfred2g/FreeRTOS-Kernel that referenced this pull request Sep 5, 2020
alfred2g pushed a commit to alfred2g/FreeRTOS-Kernel that referenced this pull request Sep 5, 2020
bknicholls pushed a commit to vypex-software/FreeRTOS-Kernel that referenced this pull request Nov 27, 2024
bknicholls pushed a commit to vypex-software/FreeRTOS-Kernel that referenced this pull request Jan 7, 2025
bknicholls pushed a commit to vypex-software/FreeRTOS-Kernel that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants