Re: [patch] Fix suspend of the kseriod thread

Russell King
2002-07-30T21:54:16Z

On Tue, Jul 30, 2002 at 10:17:22PM +0200, Vojtech Pavlik wrote:
> do {
> serio_handle_events();
> + interruptible_sleep_on(&serio_wait);
> if (current->flags & PF_FREEZE)
> refrigerator(PF_IOTHREAD);
> - interruptible_sleep_on(&serio_wait);
> } while (!signal_pending(current));

Isn't interruptible_sleep_on() taboo?

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux