|
blocxx
|
Classes | |
| struct | SelectObject |
Typedefs | |
| typedef Array< SelectObject > | SelectObjectArray |
Functions | |
| int | selectRW (SelectObjectArray &selarray, UInt32 ms) |
| int | selectRWEpoll (SelectObjectArray &selarray, const Timeout &timeout) |
| int | selectRWPoll (SelectObjectArray &selarray, const Timeout &timeout) |
| int | selectRWSelect (SelectObjectArray &selarray, const Timeout &timeout) |
| int | selectRW (SelectObjectArray &selarray, const Timeout &timeout=Timeout::infinite) |
| 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. More... | |
| int | select (const SelectTypeArray &selarray, UInt32 ms) BLOCXX_DEPRECATED |
| Select returns as soon as input is available on any of Select_t objects that are in given array. More... | |
| int | select (const SelectTypeArray &selarray, const Timeout &timeout) |
Variables | |
| const int | SELECT_TIMEOUT = -2 |
| The value returned from select when the timeout value has expired. More... | |
| const int | SELECT_ERROR = -1 |
| The value returned from select when any error occurs other than timeout. More... | |
| const int | SELECT_NOT_IMPLEMENTED = -4 |
| Used internally, but listed here to prevent conflicts. More... | |
| const UInt32 INFINITE_TIMEOUT | BLOCXX_DEPRECATED = ~0U |
| Value that means infinite timeout. More... | |
Definition at line 143 of file Select.hpp.
| BLOCXX_COMMON_API int BLOCXX_NAMESPACE::Select::select | ( | const SelectTypeArray & | selarray, |
| const Timeout & | timeout | ||
| ) |
Definition at line 557 of file Select.cpp.
| BLOCXX_COMMON_API int BLOCXX_NAMESPACE::Select::select | ( | const SelectTypeArray & | selarray, |
| UInt32 | ms | ||
| ) |
Select returns as soon as input is available on any of Select_t objects that are in given array.
| selarray | An array of Select_t objects that will be used while waiting for input to become available. |
| ms | The timeout value specified in milliseconds |
Definition at line 550 of file Select.cpp.
| BLOCXX_COMMON_API int BLOCXX_NAMESPACE::Select::selectRW | ( | SelectObjectArray & | selarray, |
| const Timeout & | timeout = Timeout::infinite |
||
| ) |
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.
| selarray | An array of Select_t objects that will be used while waiting for input or output to become available. |
| timeout | The timeout. |
Definition at line 527 of file Select.cpp.
| BLOCXX_COMMON_API int BLOCXX_NAMESPACE::Select::selectRW | ( | SelectObjectArray & | selarray, |
| UInt32 | ms | ||
| ) |
Definition at line 152 of file Select.cpp.
Referenced by BLOCXX_NAMESPACE::Exec::processInputOutput().
| int BLOCXX_NAMESPACE::Select::selectRWEpoll | ( | SelectObjectArray & | selarray, |
| const Timeout & | timeout | ||
| ) |
Definition at line 246 of file Select.cpp.
| int BLOCXX_NAMESPACE::Select::selectRWPoll | ( | SelectObjectArray & | selarray, |
| const Timeout & | timeout | ||
| ) |
Definition at line 334 of file Select.cpp.
References i.
| int BLOCXX_NAMESPACE::Select::selectRWSelect | ( | SelectObjectArray & | selarray, |
| const Timeout & | timeout | ||
| ) |
Definition at line 419 of file Select.cpp.
| const UInt32 INFINITE_TIMEOUT BLOCXX_NAMESPACE::Select::BLOCXX_DEPRECATED = ~0U |
Value that means infinite timeout.
Definition at line 101 of file Select.hpp.
| const int BLOCXX_NAMESPACE::Select::SELECT_ERROR = -1 |
The value returned from select when any error occurs other than timeout.
Definition at line 93 of file Select.hpp.
Referenced by BLOCXX_NAMESPACE::Exec::processInputOutput().
| const int BLOCXX_NAMESPACE::Select::SELECT_NOT_IMPLEMENTED = -4 |
Used internally, but listed here to prevent conflicts.
Definition at line 97 of file Select.hpp.
| const int BLOCXX_NAMESPACE::Select::SELECT_TIMEOUT = -2 |
The value returned from select when the timeout value has expired.
Definition at line 89 of file Select.hpp.
Referenced by BLOCXX_NAMESPACE::Exec::processInputOutput().
1.8.18