- if (value > 0)
- read_element(mc_model_checker->process(),
- &state->internal_comm, remote(simcall_comm_testany__get__comms(req)),
- value, sizeof(state->internal_comm));
+ if (value > 0) {
+ smx_synchro_t remote_comm;
+ read_element(mc_model_checker->process(),
+ &remote_comm, remote(simcall_comm_testany__get__comms(req)),
+ value, sizeof(remote_comm));
+ mc_model_checker->process().read(&state->internal_comm, remote(remote_comm));
+ }