Re: interruptible_sleep_on() vs wait_event_interruptible()

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

 



> I dont care if it is depreceated or not. I just want to know why it is
> depreceated.

I thought I commented on it. Your saying "when the driver 
decides to sleep and when the sleep_on is performed" is correct according to 
me. This window is the cause of problem. 

> Did you have a look in the kernel-2.6.18 tree how many drivers still
> use interruptible_sleep_on() ?

When they are all converted to the wait_event_interruptible, there is no need 
to include it any more. That's why it stays in the kernel.

> (don't mean to offend you by the way ;)

No :-)

--
Bora SAHIN

--
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