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

Reduce latency of the system loop #2797

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Jul 10, 2024

Problem

When waking up the system thread to process pending events, we're resetting the notification counter for the system thread instead of decrementing it, which causes the system thread to go to sleep until a new event is put in the queue and ignore events that are already in the queue.

@sergeuz sergeuz added the bug label Jul 10, 2024
@sergeuz sergeuz requested a review from avtolstoy July 10, 2024 16:19
@avtolstoy avtolstoy merged commit 7518a66 into develop Jul 10, 2024
13 checks passed
@avtolstoy avtolstoy deleted the fix/system-event-loop-latency branch July 10, 2024 16:58
@Kategrode Kategrode added this to the 5.9.0 milestone Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants