1 #include <sys/select.h>
33 void createPipe(
int fd[2],
bool bInheritable =
false );
55 bool fdWaitRead(
int fd,
double timeOutSeconds );
62 int Select(
double timeOutSeconds );
63 int Select( timeval * tv );
79 bool wait_for(
double p_timeout_seconds );
81 static bool g_wait_for(
int p_event,
double p_timeout_seconds );
102 #ifdef __APPLE__ // implemented only thru NSEvent in Obj-C code
void setNonBlocking(int fd, bool bNonBlocking)
bool nixSelfProcessPath(string_base &strOut)
void setCloseOnExec(int fd, bool bCloseOnExec)
void set_state(bool state)
void operator=(nix_event const &)
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)
static int g_twoEventWait(nix_event &ev1, nix_event &ev2, double timeout)
timeval makeTimeVal(double timeSeconds)
void createPipe(int fd[2], bool bInheritable)
void setInheritable(int fd, bool bInheritable)
const char * what() const
static bool g_wait_for(int p_event, double p_timeout_seconds)
void nixSleep(double seconds)
bool wait_for(double p_timeout_seconds)
double importTimeval(const timeval &in)