1 #include <sys/select.h> 34 void createPipe(
int fd[2],
bool bInheritable =
false );
42 void operator+=(
int fd );
43 void operator-=(
int fd );
44 bool operator[] (
int fd );
47 void operator+=(
fdSet const & other );
56 bool fdWaitRead(
int fd,
double timeOutSeconds );
63 int Select(
double timeOutSeconds );
64 int Select_(
int timeOutMS );
76 void set_state(
bool state );
78 bool is_set( ) {
return wait_for(0); }
80 bool wait_for(
double p_timeout_seconds );
82 static bool g_wait_for(
int p_event,
double p_timeout_seconds );
88 static int g_twoEventWait(
int h1,
int h2,
double timeOut );
void setNonBlocking(int fd, bool bNonBlocking)
bool nixSelfProcessPath(string_base &strOut)
void setCloseOnExec(int fd, bool bCloseOnExec)
void nixGetRandomData(void *outPtr, size_t outBytes)
void nixFormatError(string_base &str, int code)
void uSleepSeconds(double seconds, bool)
bool nixReadSymLink(string_base &strOut, const char *path)
const char * get_ptr() const
bool fdWaitRead(int fd, double timeOutSeconds)
bool fdWaitWrite(int fd, double timeOutSeconds)
timeval makeTimeVal(double timeSeconds)
void createPipe(int fd[2], bool bInheritable)
void setInheritable(int fd, bool bInheritable)
const char * what() const
void nixSleep(double seconds)
double importTimeval(const timeval &in)