|
|
Subscribe / Log in / New account

kill a kernel thread

kill a kernel thread

Posted May 28, 2018 18:28 UTC (Mon) by Sesse (subscriber, #53779)
In reply to: kill a kernel thread by willy
Parent article: Killing processes that don't want to die

Does this also mean that read() on a file on NFS can give EINTR now?


to post comments

kill a kernel thread

Posted May 29, 2018 3:23 UTC (Tue) by willy (subscriber, #9762) [Link]

No. It means if you ^C a read() and the task hasn't set a handler for SIGTERM, the task will die without waiting for the read to complete.

If it did set a handler, the read() will block indefinitely as before.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds