Re: wait_for_completion_interruptible does not wait !!

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

 



On 06/20/2010 08:52 AM, Suresh Rajashekara wrote:
> The ioctl waits on a completion variable (using
> wait_for_completion_interruptible).
...
> I tried wait_for_completion instead, but now the kernel refuses to suspend.

Do you check return value of wait_for_completion_interruptible and
return its value if nonzero?

We need the code to comment, otherwise it's hard to say.

-- 
js
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux