One App's Poison
It seems simple in retrospect. Surf’s Up went to heroics to swallow signals: its background threads continually set signal handlers that cause only the signalling thread to exit, but leave the remaining threads unharmed. And the app didn’t really need its main thread after all.