Question d’entretien chez DAZN

iOS multi threading question to stop a background thread

Réponse à la question d'entretien

Utilisateur anonyme

23 août 2025

You can't directly kill a process in IOS instead, you use cooperative cancelling where the thread periodically checks for a shared flag to determine if it should exit gracefully