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

backend: use distinct event queue for client sys #738

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

cmeissl
Copy link
Collaborator

@cmeissl cmeissl commented Jun 20, 2024

some drivers seem to unconditionally dispatch
the default event queue. this can lead to spurious dispatching of wayland-rs managed objects breaking the tls invariant.
prevent this from happening by moving everything
off the default event queue to a distinct event queue

@cmeissl
Copy link
Collaborator Author

cmeissl commented Jun 20, 2024

might also fix #728

some drivers seem to unconditionally dispatch
the default event queue. this can lead to spurious
dispatching of wayland-rs managed objects breaking
the tls invariant.
prevent this from happening by moving everything
off the default event queue to a distinct event queue
@cmeissl cmeissl force-pushed the fix/driver_dispatch_crash branch from 8816be2 to a00b771 Compare June 24, 2024 11:14
Copy link
Member

@elinorbgr elinorbgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmeissl cmeissl marked this pull request as ready for review June 25, 2024 12:56
@ids1024 ids1024 merged commit e777e85 into Smithay:master Jul 3, 2024
13 checks passed
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.

3 participants