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

Refactor last few tokio specific parts to be runtime agnostic #109

Merged
merged 4 commits into from
Dec 26, 2020
Merged

Refactor last few tokio specific parts to be runtime agnostic #109

merged 4 commits into from
Dec 26, 2020

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Dec 25, 2020

In preparation for #108, this PR refactors the last few places where we bake tokio-specifc functionality into the code, and organizes them into the async_rt module. The async_rt module will serve as a common denominator between the different runtimes we wish to support, and bundle up any runtime-specific code that we can't accomplish simply with just futures.

The main parts of this are providing a way to spawn and join on tasks in a runtime agnostic way, as well as a minor refactor of a couple things that could be done with futures instead of tokio

@TheButlah TheButlah mentioned this pull request Dec 25, 2020
@TheButlah TheButlah changed the title Make code fully runtime agnostic, to allow for other runtimes Refactor last few tokio specific parts to be runtime agnostic Dec 25, 2020
@Alexei-Kornienko Alexei-Kornienko merged commit ecbd322 into zeromq:master Dec 26, 2020
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.

2 participants