wake_up() or wake_up_interruptible()
Hi All, I am using a wait_event_interruptible() in kernel thread and waking that thread using wake_up(), and this logic is working fine. I would like to know whether it is the correct way of waking the thread which is in interruptible sleep mode? What about wake_up_interruptible() API? When this should be used? -- Thanks, Sekhar
wake_up() or wake_up_interruptible()
Hi All, I am using a wait_event_interruptible() in kernel thread and waking that thread using wake_up(), and this logic is working fine. I would like to know whether it is the correct way of waking the thread which is in interruptible sleep mode? What about wake_up_interruptible() API? When this should be used? -- Thanks, Sekhar