On Fri Jul 14 18:44:09 2023 +0000, Paul Gofman wrote:
I think test with CloseHandle() before terminating thread covers this case? With only condition (1) in place the tests with 'other process handle' enabled will fail. Test without "other process" still closes the original handle, although duplicates that into the same process thus showing that handles per process make a difference.
But you're still terminating the thread. Do we have a test where we create an async, duplicate the object handle into another process, then close every handle in the originating process, but without the originating thread exiting or being terminated?