|
Poll the descriptors in the poll structure - Parameters:
-
| aprset | The poll structure we will be using. |
| numsock | The number of descriptors we are polling |
| nsds | The number of descriptors signalled. |
| timeout | The amount of time in microseconds to wait. This is a maximum, not a minimum. If a descriptor is signalled, we will wake up before this time. A negative number means wait until a descriptor is signalled. |
- Remarks:
- The number of descriptors signalled is returned in the third argument. This is a blocking call, and it will not return until either a descriptor has been signalled, or the timeout has expired.
The rtnevents field in the apr_pollfd_t array will only be filled- in if the return value is APR_SUCCESS.
|