llvm-project/lldb/source/Host
Aleksandr Urakov 64c92df7cb [Windows] Fix threads comparison on Windows
Summary:
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.

Reviewers: zturner, clayborg, stella.stamenova

Reviewed By: stella.stamenova

Subscribers: stella.stamenova, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D53357

llvm-svn: 344729
2018-10-18 07:52:56 +00:00
..
android Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
common [Windows] Fix threads comparison on Windows 2018-10-18 07:52:56 +00:00
freebsd Attempt to fix windows&freebsd builds broken by r334950 2018-06-18 15:29:42 +00:00
linux Use llvm::VersionTuple instead of manual version marshalling 2018-06-18 15:02:23 +00:00
macosx Upstreaming the BridgeOS device support and the 2018-10-11 00:28:35 +00:00
netbsd Fix macosx build broken by the VersionTuple refactor 2018-06-18 16:10:20 +00:00
openbsd [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:23:48 +00:00
posix Fix typos. 2018-10-04 22:33:39 +00:00
windows [Windows] Fix threads comparison on Windows 2018-10-18 07:52:56 +00:00
CMakeLists.txt build: add libedit to include paths 2018-09-21 18:34:41 +00:00