[PATCH 1/2] Don't close thread handles provided by WaitForDebugEvent
Tom Tromey
tom@tromey.com
Tue May 26 20:29:26 GMT 2020
>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:
Hannes> 2020-05-24 Hannes Domani <ssbssa@yahoo.de>
Hannes> * nat/windows-nat.c (windows_thread_info::~windows_thread_info):
Hannes> Don't close thread handle.
Thanks, I found this, which seems to agree with your analysis:
https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-waitfordebugevent
So, I think this patch is ok.
Tom
More information about the Gdb-patches
mailing list