mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-09 08:26:07 +00:00

The system can create threads for a system threadpool, so there is no guarantee that the thread that is stopped is thread 1. So use a more robust check. llvm-svn: 257513