I just want to do the following:
From userspace I call
select() read()
The app normally blocks on the select call().
From kernelspace I have to code
an interrupt handler, a read(), a select() call.
Interrupt occurs, if new data is available, or if transmission is lost.
What should I do, when an interrupt occurs and the app's not doing a select() ? Can I wake up a waitqueue if the application process is not sleeping on it, and it will be woken when it calls the select ? Or does the driver have to buffer the incoming data ?
Kind regards,
Franz
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/