Re: wake up

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

 



On Tue, 2004-11-09 at 17:06 +0530, Nilanjan Roychowdhury wrote:
> What is the effect if I do a wake_up_interruptible() call on a wait
> queue on which currently no one is sleeping. Does it simply get ignored
> or it just get queued for future use like next time calls
> interruptible_sleep_on() he will be unblocked  instantly.

it gets ignored.

oh and never ever use interruptible_sleep_on(); that entire family of
API's is racy as hell and deprecated. 
-- 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux