Skip to content

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

Merged
wengxt merged 1 commit intomasterfrom
async
Feb 3, 2025
Merged

Add new event source type async and use it in event dispatcher#1257
wengxt merged 1 commit intomasterfrom
async

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

Comments