On Fri, 7 Jun 2024 20:52:38 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
>> The `WaitForSingleObject(handle, 0)` seems like an indirect way to determine >> if the process is alive. >> Whereas `isProcessAlive(handle)` seems to directly answer the question. > > sorry, I still don't get it. Are you telling me that I should use > isProcessAlive to implement isProcessAlive? Because it doesn't look like a > WinAPI function name, I take it back. It was just wishful thinking that Windows had the obvious API. And I've intermingled Java methods for native methods. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19586#discussion_r1631681720