IN: Total time in nanoseconds to wait for all operations in the event set to complete
OUT: The number of operations still in progress
OUT: Indicator if an operation in the event set failed
H5ES_WAIT waits for operations in an event set es_id to wait with timeout.
Timeout value is in nanoseconds, and is for the H5ESwait call and not for each individual operation in the event set. For example, if "10" is passed as a timeout value and the event set waited 4 nanoseconds for the first operation to complete, the remaining operations would be allowed to wait for at most 6 nanoseconds more, i.e., the timeout value used across all operations in the event set until it reaches 0, then any remaining operations are only checked for completion, not waited on.
This call will stop waiting on operations and will returnimmediately if an operation fails. If a failure occurs, thevalue returned for the number of operations in progress may beinaccurate.
Returns a non-negative value if successful; otherwise returns a negative value.