qh_poll_check_cb_ft
QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper
Prototype for a callback function that provides the results of a poll check
Synopsis:
#include <qh/time.h>
typedef int qh_poll_check_cb_ft(void *cb_data,
bool *continue_polling);
Arguments:
- cb_data
- The callback data provided in the cb_data parameter to qh_poll_until().
- continue_polling
- Tells qh_poll_until() whether to continue polling.
Library:
qhReturns:
EOK on success, which indicates that the poll executed correctly. The continue_polling value determines whether polling continues or not. On failure, returns a standard errno ( errno is also set), which is used as-is as the return value of qh_poll_until(). Polling stops and qh_poll_until() returns EOK to the caller.
Page updated: