LLDB mainline
Macros | Enumerations | Functions | Variables
PipePosix.cpp File Reference
#include "lldb/Host/posix/PipePosix.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/SelectHelper.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Errno.h"
#include <functional>
#include <thread>
#include <cerrno>
#include <climits>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define PIPE2_SUPPORTED   0
 

Enumerations

enum  PIPES { READ , WRITE }
 

Functions

static std::chrono::time_point< std::chrono::steady_clock > Now ()
 

Variables

static constexpr auto OPEN_WRITER_SLEEP_TIMEOUT_MSECS = 100
 

Macro Definition Documentation

◆ PIPE2_SUPPORTED

#define PIPE2_SUPPORTED   0

Definition at line 38 of file PipePosix.cpp.

Enumeration Type Documentation

◆ PIPES

enum PIPES
Enumerator
READ 
WRITE 

Definition at line 30 of file PipePosix.cpp.

Function Documentation

◆ Now()

static std::chrono::time_point< std::chrono::steady_clock > Now ( )
static

Definition at line 52 of file PipePosix.cpp.

Referenced by lldb_private::PipePosix::OpenAsWriterWithTimeout().

Variable Documentation

◆ OPEN_WRITER_SLEEP_TIMEOUT_MSECS

constexpr auto OPEN_WRITER_SLEEP_TIMEOUT_MSECS = 100
staticconstexpr

Definition at line 41 of file PipePosix.cpp.

Referenced by lldb_private::PipePosix::OpenAsWriterWithTimeout().