Skip to contentSkip to conversation

How do I keep a thread alive through shutdown?

DISCUSSION Matthew Dharm 1 participant 1 message Nov 28, 2001

lore
Share & tools
lore
#0 lore raw

Several people are reporting long delays when shutting down and using usb-storage. My guess is that the control thread is getting killed during the shutdown process, and when the SCSI layer decides to send a final command to the device, it's never completed because the thread is dead.

So, how do I make a kernel thread immune from being killed during a shutdown?

Matt

Signature · 6 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

I don't have a left mouse button.  I only have one mouse and it's on my right.
					-- Customer
User Friendly, 2/13/1999