Searched refs:h_ (Results 1 – 1 of 1) sorted by relevance
284 constexpr explicit Process(HANDLE h = nullptr) : h_(h) {} in h_() function285 constexpr Process(Process&& other) : h_(std::exchange(other.h_, nullptr)) {} in Process()287 constexpr explicit operator bool() const { return h_ != nullptr; }291 ::WaitForSingleObject(h_, INFINITE); in wait()297 ::TerminateProcess(h_, -1); in kill()306 ::CloseHandle(h_); in close()307 h_ = nullptr; in close()311 HANDLE h_; variable