lkml.org 
[lkml]   [2002]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Fix suspend of the kseriod thread
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
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [from the cache]
©2003-2011 Jasper Spaans