Hacker News new | past | comments | ask | show | jobs | submit login

As neighbour says, io_uring is for really high performance (as in high throughput) stuff, so… not I2C !

But you can still want async I/O with an I2C device, of course, as in you don't want to block a thread to wait on a message. And for that I believe you can still use good old select/epoll as usual on your I2C device file, and as a consequence also just use your favourite async I/O framework of the day (libevent, node.js, what have you).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: