How to stop Linux threads cleanly | Hacker News Reader