Function iox_ws_wait

Function Documentation

uint64_t iox_ws_wait(iox_ws_t const self, iox_notification_info_t *const notificationInfoArray, const uint64_t notificationInfoArrayCapacity, uint64_t *missedElements)

waits until an event occurred

Parameters:
  • self[in] handle to the wait set

  • notificationInfoArray[in] preallocated memory to an array of iox_notification_info_t in which the notification infos, which are describing the occurred event, can be written to

  • notificationInfoArrayCapacity[in] the capacity of the preallocated notificationInfoArray

  • missedElements[in] if the notificationInfoArray has insufficient size the number of missed elements which could not be written into the array are stored here

Returns:

number of elements which were written into the notificationInfoArray