the function wake_up_interruptible is used with the other function interruptible_sleep_on.
Hi,
Once I call wait_event_interruptible, is it important to call wake_up_interruptible sometime later. wait_even_interruptible would automatically awaken the sleeping process when the condition it takes as an argument evaluates to TRUE, so in which specific cases do we require a separate wake_up_interruptible. ?
interruptible_sleep_on put the current process in a sleeping state and add it to the wait queue passed in paramter. When you call wake_up_interruptible, all the processes in the wait queue passed in paramter are putted in a RUNNING state and deleted from the wait queue.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/