if (MC_is_active()) {
/* the model-checker wants two separate simcalls */
- smx_action_t comm = NULL;
+ smx_action_t comm = NULL; /* MC needs the comm to be set to NULL during the simcall */
comm = simcall_comm_isend(rdv, task_size, rate,
src_buff, src_buff_size, match_fun, NULL, data, 0);
simcall_comm_wait(comm, timeout);
if (MC_is_active()) {
/* the model-checker wants two separate simcalls */
- smx_action_t comm = NULL;
+ smx_action_t comm = NULL; /* MC needs the comm to be set to NULL during the simcall */
comm = simcall_comm_irecv(rdv, dst_buff, dst_buff_size,
match_fun, data);
simcall_comm_wait(comm, timeout);
return simcall_BODY_file_get_info(fd);
}
+/**
+ * \ingroup simix_file_management
+ *
+ */
+void simcall_file_rename(smx_file_t fd, const char* new_name)
+{
+ return simcall_BODY_file_rename(fd, new_name);
+}
+
/**
* \ingroup simix_storage_management
* \brief Returns the free space size on a given storage element.