I have an ADC device, I wrote a driver for it, the driver works well. I want to send the sample data from the driver to the application.
I choose fasync way, using a SIGIO signal to notify the application can read data from the driver. But I found sometimes the application does not respond to the signal, especially the signal frequency is high(about 1000hz). And when I do some other work such as using chrome, it will influence the signal response.
In summary, my method is very unstable.
Do you have some stable method or advice about transferring data to the application in a high-frequency situation?