Skip to content

fix: Improve event processing in MacOS event loop - #121

Merged
mkrus merged 1 commit into
mainfrom
macos_eventloop_fix
Nov 6, 2026
Merged

mkrus merged 1 commit into
mainfrom
macos_eventloop_fix

Conversation

@mkrus

@mkrus mkrus commented Oct 29, 2026

Copy link
Copy Markdown
Member

Avoid posted events blocking platform events while avoiding starvation.

In KDGpu, rendering updates are driven by continuously posting events.
Every update then create platform events but only one of them where handled
at a time, which led to starvation in the processing of events driving the window
presentation, activation, etc.

Avoid posted events blocking platform events while avoiding starvation.
@mkrus
mkrus requested review from iamsergio and lemirep October 29, 2026 11:10
@mkrus mkrus self-assigned this Oct 29, 2026
@mkrus
mkrus merged commit 52041f3 into main Nov 6, 2026
59 of 80 checks passed
@mkrus
mkrus deleted the macos_eventloop_fix branch November 6, 2026 19:52
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