On Thu, Apr 15, 2004 at 01:40:10PM +0530, omanakuttan wrote: > On Wed, 14 Apr 2004, rakesh wrote: > > > > > Hi Mohan, > > > > How about sending a signal from an interrupt to a thread, where a thread is blocked or that particular signal. Please correct me if i am wrong. > It must be okay, but a better way is to use wait queues. Let the thread > sleep_on_interruptible() on a wait queue. Do a wake_up() from the interrupt > handler. Don't use sleep_on*, they are often racy. See this thread: http://boudicca.tux.org/hypermail/linux-kernel/2001week05/0305.html Domen -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/