Typedef VmbInvalidationCallback

Typedef Documentation

void(VMB_CALL * VmbInvalidationCallback )(const VmbHandle_t handle, const char *name, void *userContext)

Invalidation callback type for a function that gets called in a separate thread and has been registered with VmbFeatureInvalidationRegister().

While the callback is run, all feature data is atomic. After the callback finishes, the feature data may be updated with new values.

Do not spend too much time in this thread; it prevents the feature values from being updated from any other thread or the lower-level drivers.

Param handle:

[in] Handle for an entity that exposes features

Param name:

[in] Name of the feature

Param userContext:

[in] Pointer to the user context, see VmbFeatureInvalidationRegister