Comments (4)
@pheki yeah it was, I completely forgot about this issue. Thanks for ping.
from rust-sysfs-gpio.
This should definitely be possible in mio 0.6, which has added the Evented
trait to allow custom implementations of asynchronous I/O. The actual implementation could be delegated to the underlying file descriptor. The most logical place in my mind to add this would be the PinPoller
struct - adding a feature-enabled impl
of Evented
.
Is this something you're looking to take on @Kixunil? I've worked with mio before and would be happy to mentor if you have questions.
from rust-sysfs-gpio.
What's the advantage of having separate PinPoller
? Is it setting correct interrupt? Also, I'm wondering how this could be integrated with Futures/Tokio.
I did try mio, so I know how to do and I'll be very happy to do it because it will improve one project I'm currently developing. However I have some things to do, which have higher priority to me. Anyway, I expect I could implement it until Christmas. What do you think?
from rust-sysfs-gpio.
Hasn't this been fixed by #26?
from rust-sysfs-gpio.
Related Issues (20)
- Pin can be exported twice HOT 4
- Non blocking interrupt HOT 1
- Permission denied on first run HOT 3
- Make operations on pins take mutable reference HOT 1
- Doesn't build on OSX HOT 2
- Bad performance HOT 7
- Write performance is slow HOT 5
- Sysfs interface for GPIO is now deprecated HOT 5
- Pin number documentation HOT 3
- Level-triggered interrupt HOT 1
- Incompatible with tokio crate HOT 2
- Tokio doesn't support Rust 1.21.0 HOT 1
- async/.await support - "How to" discussion HOT 1
- Allow compilation to wasm32-wasi target HOT 2
- MSRV build on CI is broken due to dependencies
- Migrate to tokio 1.x HOT 3
- non async io in async code
- Upstream deprecation
- Fix CI 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 rust-sysfs-gpio.