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

gdk::Display can be called from arbitrary threads #1306

Open
A6GibKm opened this issue Feb 16, 2023 · 2 comments
Open

gdk::Display can be called from arbitrary threads #1306

A6GibKm opened this issue Feb 16, 2023 · 2 comments
Labels
Milestone

Comments

@A6GibKm
Copy link
Contributor

A6GibKm commented Feb 16, 2023

Which causes UB.

@bilelmoussaoui
Copy link
Member

How come that this is possible?

@sdroege
Copy link
Member

sdroege commented Feb 18, 2023

gdk::Display::default() and other constructors need to check that they're called from the main thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants