[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernelspace to Userspace message passing



On Mon, Feb 04, 2002 at 04:59:09PM +0530, Sandip Bhattacharya wrote:
| I have an userspace application running, which communicates to a kernel modules
| using IOCTLs. Now, from time to time, the kernel needs to send a message back to the 
| application. Now one alternative would be that the app polls the kernel using IOCTLs
| to see if any message is waiting. How can I avoid that and send a message directly
| as in a callback or signal?

There's a section 'Asynchronous Notification' in the LDD book.

chyrag.
-- 
Chirag Kantharia, symonds.net/~chyrag/
Linux scrooge 2.4.17 #1 Wed Jan 16 17:07:25 IST 2002 i686 unknown

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/