Comments (6)
@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.
@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.
@sempervictus did that answer your question?
from tokio-uring.
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.
@sempervictus is this issue ongoing?
from tokio-uring.
Pardon, have not been using the library in recent efforts, closing.
from tokio-uring.
Related Issues (20)
- Proposal for overhaul of buffer representation HOT 11
- multi_thread support HOT 5
- Direct IO HOT 2
- Support _msg syscalls HOT 4
- impl Clone for stream types?
- Add chunks() for BoundedBuf
- Not in a runtime context is not always true HOT 5
- Return msghdr from `recvmsg`
- DPDK support? HOT 5
- Dead or dying? HOT 9
- Support for windows IOCP (input/output completion ports) another completion-based async API HOT 1
- Is it support `splice` operation now?
- New Release? HOT 3
- tokio-uring missing similar tokio runtime builder options
- io_uring command support? HOT 3
- Support for IO_LINK feature
- Restructuring HOT 2
- __io_uring_buf_ring_cq_advance broken? HOT 1
- [BUG] Hangs when using iopoll without sqpoll HOT 2
- Expose access to io_uring in the form of submission and completion queues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokio-uring.