H5ESregister_insert_func

fnherr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void * ctx)

Registers a callback for operation insertions.

The callback is invoked whenever a new async operation is inserted into the event set.

Parameters

es_idEvent set identifier
funcCallback function to invoke on insertion
ctxUser context data to pass to the callback

Returns

Non-negative on success, negative on failure.