This patch makes Windows threads to compare by a thread ID, not by a handle. It's because the same thread can have different handles on Windows (for example, GetCurrentThread always returns the fake handle -2). This leads to some incorrect behavior. For example, in Process::GetRunLock always m_public_run_lock is returned without this patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM