#include "OW_config.h"
#include "OW_Types.hpp"
#include "OW_Array.hpp"
#include "OW_SelectableIFC.hpp"
Include dependency graph for OW_Select.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::Select |
Classes | |
struct | OW_NAMESPACE::Select::SelectObject |
Typedefs | |
typedef Array< Select_t > | OW_NAMESPACE::SelectTypeArray |
typedef Array< SelectObject > | OW_NAMESPACE::Select::SelectObjectArray |
Functions | |
int | OW_NAMESPACE::Select::select (const SelectTypeArray &selarray, UInt32 ms=INFINITE_TIMEOUT) |
Select returns as soon as input is available on any of Select_t objects that are in given array. | |
int | OW_NAMESPACE::Select::selectRW (SelectObjectArray &selarray, UInt32 ms=INFINITE_TIMEOUT) |
Select returns as soon as input or output is available on any of the Select_t objects that are in given array or the timeout has passed. | |
Variables | |
const int | OW_NAMESPACE::Select::SELECT_TIMEOUT = -2 |
The value returned from select when the timeout value has expired. | |
const int | OW_NAMESPACE::Select::SELECT_ERROR = -1 |
The value returned from select when any error occurs other than timeout. | |
const int | OW_NAMESPACE::Select::SELECT_INTERRUPTED = -3 |
The value returned from select when select is interrupted by a signal. | |
const int | OW_NAMESPACE::Select::SELECT_NOT_IMPLEMENTED = -4 |
Used internally, but listed here to prevent conflicts. | |
const UInt32 | OW_NAMESPACE::Select::INFINITE_TIMEOUT = ~0U |
Value that means infinite timeout. |