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

[osx] Fix events handling #92

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Conversation

martincapello
Copy link
Member

@martincapello martincapello commented May 31, 2024

Fix #89

This is the second attempt to fix the issue. This time I just used a mutex to avoid the issue and kept almost all the code in its original form. I didn't use the concurrent queue mutex to avoid polluting its API and because I'm not sure it would be enough. Hence, if at the end the concurrent queue mutex is not going to be used I believe that we should replace that queue for a regular std::deque.

@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@aseprite-bot aseprite-bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

os/osx/event_queue.h Show resolved Hide resolved
@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@dacap dacap self-assigned this Jun 27, 2024
@dacap dacap merged commit 73e45a3 into aseprite:main Aug 9, 2024
8 checks passed
@dacap dacap deleted the missing-wakeups2 branch August 9, 2024 23:38
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.

macOS event queue won't wakeup under certain circumstances
3 participants