Thomas Petazzoni (thomas.petazzoni@xxxxxxxx) wrote: > Hello, > > Vijay Ram Chitrapu (RCVIJAYD) wrote: > > >i was under an idea that software interrupts can be used to send > >some kind of signals to the user space asynchronously. Is it possible > >for a driver running in the kernel to generate a software interrupt > >asynchronously to the user such that the user is informed of some change > >in the kernel the driver is involved with? I am well aware of the fasync > >method of asynchronous notification..but want to know if this way of > >signalling is feasible or not? > > Actually, I don't know what is the good (tm) solution to signal a > userspace process. I'm not sure sending a signal is a good idea. There > is inotify, but it's really designed for this. Really, I don't know. > > Can you be more precise about the cases in which you need kernel->user > signaling ? > > Sincerly, > > Thomas As Thomas say, be more precise, because inotify can be a solution, but perhaps the question can study in a different way and things like select(), ........ can be used to do what you want. Perhaps I say too ugly mistakes :) - Christophe (clucas@xxxxxxxxxxxxx) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/