GithubHelp home page GithubHelp logo

Runtime will not start about tokio-uring HOT 6 CLOSED

tokio-rs avatar tokio-rs commented on July 17, 2024
Runtime will not start

from tokio-uring.

Comments (6)

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024 1

@autumnontape That case will always work, unless you used block_in_place. What doesn't work is trying to use tokio-uring stuff within the normal tokio runtime (using #[tokio::main]).

from tokio-uring.

KerfuffleV2 avatar KerfuffleV2 commented on July 17, 2024

@sempervictus According to the README, tokio-uring only supports the one tokio_uring::fs::File resource type that it provides. Just switching reactors to this when your application is using other types of resources wouldn't be expected to work.

It's been a while but I'm assuming you didn't already figure this out as the issue is still open.

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

@sempervictus did that answer your question?

from tokio-uring.

autumnontape avatar autumnontape commented on July 17, 2024

I haven't encountered this issue, but I'm confused. The readme says that tokio-uring is compatible with Tokio and that "Any library that works with Tokio also works with tokio-uring," and switching a Tokio-based project of mine to run on a tokio-uring runtime without changing any other part of the code does work. Is there some other way of mixing tokio and tokio-uring that isn't supported?

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

@sempervictus is this issue ongoing?

from tokio-uring.

sempervictus avatar sempervictus commented on July 17, 2024

Pardon, have not been using the library in recent efforts, closing.

from tokio-uring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.