From: Vojtech P. <vo...@su...> - 2002-07-30 22:01:46
|
On Tue, Jul 30, 2002 at 10:57:36PM +0100, Russell King wrote: > 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? As far as I know it only implies a bug when used with some condition, like "buffer non-empty" etc. As always, I may be wrong, of course. -- Vojtech Pavlik SuSE Labs |