My Project
|
#include <Pipe.h>
Public Member Functions | |
PipeFd () | |
~PipeFd () | |
void | fillPipeFd () |
Public Attributes | |
pthread_cond_t | retry_ |
bool | retryIsReady_ |
int | fd_ |
Define a struct to encapsulate a file descriptor associated with either end of a pipe
Pipe::PipeFd::PipeFd | ( | ) |
Constructor.
....................................................................... PipeFd constructor
Pipe::PipeFd::~PipeFd | ( | ) |
Destructor.
....................................................................... PipeFd destructor function
void Pipe::PipeFd::fillPipeFd | ( | ) |
int gcp::util::Pipe::PipeFd::fd_ |
The file descriptor
pthread_cond_t gcp::util::Pipe::PipeFd::retry_ |
A condition variable which can be used for other threads to signal when the fd is readable or writable.
bool gcp::util::Pipe::PipeFd::retryIsReady_ |
True when retry has been initialized.