Make sure device monitor thread can be cancelled without pthread_cancel
2 files changed