9#ifndef liblldb_Host_windows_PipeWindows_h_
10#define liblldb_Host_windows_PipeWindows_h_
35 Status CreateNew(llvm::StringRef name,
bool child_process_inherit)
override;
37 bool child_process_inherit,
40 bool child_process_inherit)
override;
43 const std::chrono::microseconds &timeout)
override;
58 void Close()
override;
63 const std::chrono::microseconds &timeout,
64 size_t &bytes_written)
override;
66 const std::chrono::microseconds &timeout,
67 size_t &bytes_read)
override;
bool CanWrite() const override
Status OpenAsReader(llvm::StringRef name, bool child_process_inherit) override
Status CreateWithUniqueName(llvm::StringRef prefix, bool child_process_inherit, llvm::SmallVectorImpl< char > &name) override
HANDLE GetWriteNativeHandle()
Status Delete(llvm::StringRef name) override
int ReleaseReadFileDescriptor() override
void CloseReadFileDescriptor() override
OVERLAPPED m_write_overlapped
Status ReadWithTimeout(void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_read) override
void CloseWriteFileDescriptor() override
OVERLAPPED m_read_overlapped
static const int kInvalidDescriptor
lldb::pipe_t GetWritePipe() const override
Status CreateNew(bool child_process_inherit) override
Status WriteWithTimeout(const void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_written) override
HANDLE GetReadNativeHandle()
Status OpenNamedPipe(llvm::StringRef name, bool child_process_inherit, bool is_read)
Status OpenAsWriterWithTimeout(llvm::StringRef name, bool child_process_inherit, const std::chrono::microseconds &timeout) override
lldb::pipe_t GetReadPipe() const override
int ReleaseWriteFileDescriptor() override
int GetWriteFileDescriptor() const override
int GetReadFileDescriptor() const override
bool CanRead() const override
A class that represents a running process on the host machine.