node-i2c
node-i2c copied to clipboard
Kernel ioctl concurrency control
I apologize: this is more of a question than an issue.
What are others doing to avoid I/O errors from simultaneous access to a linux i2c device file? I am thinking of creating a module that implements a job queue for i2c actions on a single device (/dev/i2c-1
) using this module and something like https://github.com/caolan/async queue
.
Is anyone else already doing this?