Function memorysethandlermodule::on_memory_set

Function Documentation

subroutine, public memorysethandlermodule::on_memory_set (var_name, mem_path, status)

Triggers the calling of the side effect handler for this variable.

The handler can be set by calling mem_register_handler(). When the status contains an error code, the program should be stopped because the data in memory is no longer consistent…

Parameters
  • [in] var_name: the variable name

  • [in] mem_path: the memory path

  • [out] status: status: 0 for success, -1 when failed