We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca110cc commit d495fe1Copy full SHA for d495fe1
src/ray/util/process.cc
@@ -91,7 +91,7 @@ Process::Process(pid_t pid) {
91
}
92
93
} else {
94
- RAY_CHECK(pid == GetProcessId(reinterpret_cast<HANDLE>(fd)));
+ RAY_CHECK(pid == GetProcessId(reinterpret_cast<HANDLE>(fd_)));
95
96
#else
97
if (kill(pid, 0) == -1 && errno == ESRCH) {
@@ -438,7 +438,7 @@ int Process::Wait() const {
438
if (pid_ >= 0) {
439
std::error_code error;
440
#ifdef _WIN32
441
- HANDLE handle = fd != -1 ? reinterpret_cast<HANDLE>(fd) : NULL;
+ HANDLE handle = fd_ != -1 ? reinterpret_cast<HANDLE>(fd_) : NULL;
442
DWORD exit_code = STILL_ACTIVE;
443
if (WaitForSingleObject(handle, INFINITE) == WAIT_OBJECT_0 &&
444
GetExitCodeProcess(handle, &exit_code)) {
0 commit comments