8000 Add new event source type async and use it in event dispatcher by wengxt · Pull Request #1257 · fcitx/fcitx5 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add new event source type async and use it in event dispatcher #1257

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

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

wengxt
Copy link
Member
@wengxt wengxt commented Feb 3, 2025

On Windows, the pipe API is very different from unix that uv_poll will not work easily without some big change. Instead, we introduce an Async event that can be easily mapped to uv_async, while keep self pipe trick on linux for other event loop implementation.

We will try to avoid pipe usage in the actual code for simplicity.

@wengxt wengxt force-pushed the async branch 2 times, most recently from 524b0e9 to 9311232 Compare February 3, 2025 20:54
On Windows, the pipe API is very different from unix that uv_poll
will not work easily without some big change. Instead, we introduce an
Async event that can be easily mapped to uv_async, while keep self
pipe trick on linux for other event loop implementation.

We will try to avoid pipe usage in the actual code for simplicity.
@wengxt wengxt merged commit 1a6ca37 into master Feb 3, 2025
4 checks passed
@wengxt wengxt deleted the async branch February 3, 2025 22:22
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.

1 participant
0