How do I keep a thread alive through shutdown?

Matthew Dharm (mdharm-kernel@one-eyed-alien.net)
Wed, 28 Nov 2001 15:28:36 -0800


--Fig2xvG2VGoz8o/s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
Matthew Dharm Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

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

--Fig2xvG2VGoz8o/s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8BXMkz64nssGU+ykRAk3WAKD2Em6fs3mLzh4h++EoJ05DlBqQOACffWi4
y5HHQ2a6VW3qFOydBaOA62w=
=9PET
-----END PGP SIGNATURE-----

--Fig2xvG2VGoz8o/s--
-
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/