Skip to content

Support combine with other event loops#1497

Open
shuai132 wants to merge 1 commit into
chriskohlhoff:masterfrom
shuai132:master
Open

Support combine with other event loops#1497
shuai132 wants to merge 1 commit into
chriskohlhoff:masterfrom
shuai132:master

Conversation

@shuai132

Copy link
Copy Markdown

I am very eager for ASIO to be used in combine with other event loops.
For instance, when using Node.js (libuv), I also want to use some ASIO-based libraries. To avoid potential issues, it is best to handle all these asynchronous tasks in a single thread.

It would be really cool and useful if we could run libuv and ASIO simultaneously in the same thread!!!

This submission represents the implementation approach I've come up with so far. It has been successfully tested on macOS, but not yet on other platforms.
Of course, there may be better solutions. Do you have any suggestions or comments? I would be very happy to supplement and improve this, or adopt a different approach.

@chriskohlhoff

@shuai132
shuai132 force-pushed the master branch 3 times, most recently from afc6f15 to 50641d2 Compare August 30, 2025 10:34
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