* swsusp: Vojtech pointed error in usb/hub.c
@ 2002-08-01 10:39 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2002-08-01 10:39 UTC (permalink / raw)
To: torvalds, kernel list
Hi!
We do not want threads exiting because of suspend, so refrigerator
should be just before test for signals pending (so it has chance to
kill them).
Pavel
--- clean/drivers/usb/core/hub.c Wed Jul 24 17:54:21 2002
+++ linux-swsusp/drivers/usb/core/hub.c Tue Jul 30 21:28:49 2002
@@ -1059,9 +1059,9 @@
/* Send me a signal to get me die (for debugging) */
do {
usb_hub_events();
+ wait_event_interruptible(khubd_wait, !list_empty(&hub_event_list));
if (current->flags & PF_FREEZE)
refrigerator(PF_IOTHREAD);
- wait_event_interruptible(khubd_wait, !list_empty(&hub_event_list));
} while (!signal_pending(current));
dbg("usb_hub_thread exiting");
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-01 12:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01 10:39 swsusp: Vojtech pointed error in usb/hub.c Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®