Function anj_core_ongoing_operation

Function Documentation

bool anj_core_ongoing_operation(anj_t *anj)

Checks if there is an ongoing operation on Data Model. If this function returns true, user must not modify Data Model, i.e.:

  • add or remove Objects

  • arr or remove Object Instances,

  • add or remove Resource Instances,

  • change values of Resources,

  • change values of Resource Instances, and maintain validity of external data sources, pointers and buffers, that might be accessed with Resource Handlers within Object implementation

Parameters:

anj – Anjay object to operate on.

Returns:

true if there is an ongoing operation, false otherwise.