Comments (11)
I just found recent PR(#88) to achieve it.
from tokio-uring.
I think it might be useful to constrain this issue to something like "make tokio-uring work with criterion" - whatever makes that work is fine by me, at least. Does anyone have any other reasons for referencing the Runtime
struct?
from tokio-uring.
FWIW I'd be happy to open a PR for this, but I might need some guidance on the "shape" that you'd like it in. Is this something that you'd make a feature
for? That feels odd to me because criterion is usually a dev dependency.
from tokio-uring.
For an API, I think it should look like the normal tokio runtime API, except with only spawn
, block_on
, new
, and spawn_blocking
. We can add a handle as well, either here or later.
from tokio-uring.
So you are thinking of making the struct public with public implementations with the same signature as those methods? I might be able to have a look in the next few days. Or, if you want it, please go ahead. I don't know what I'm doing and I don't get in the way.
from tokio-uring.
When I pull this locally I get a few test failures randomly - explicit_close
and drop_off_runtime
and sometimes the tests hang around the same place. Is that normal?
from tokio-uring.
What kernel do you have?
from tokio-uring.
Linux porco 5.19.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 29 Aug 2022 15:51:05 +0000 x86_64 GNU/Linux
from tokio-uring.
from tokio-uring.
When I pull this locally I get a few test failures randomly -
explicit_close
anddrop_off_runtime
and sometimes the tests hang around the same place. Is that normal?
As you indicated in #119, that problem from Sep seems fixed.
from tokio-uring.
I'm glad the question of a handle came up in this thread already.
from tokio-uring.
Related Issues (20)
- 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
- Panic when calling recv_from() after shutdown()
- Changelog not updated for 0.5.0 release
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.