- smx_synchro_t remote_act = simcall_comm_wait__get__comm(&process->simcall);
- s_smx_synchro_t act;
- mc_model_checker->process().read_bytes(
- &act, sizeof(act), remote(remote_act));
- if (act.comm.src_proc && act.comm.dst_proc)
- *value = 0;
- else if (act.comm.src_proc == nullptr && act.comm.type == SIMIX_COMM_READY
- && act.comm.detached == 1)
- *value = 0;
+ simgrid::mc::RemotePtr<simgrid::simix::Comm> remote_act = remote(
+ static_cast<simgrid::simix::Comm*>(simcall_comm_wait__get__comm(&process->simcall)));
+ simgrid::mc::Remote<simgrid::simix::Comm> temp_act;
+ mc_model_checker->process().read(temp_act, remote_act);
+ simgrid::simix::Comm* act = temp_act.getBuffer();
+ if (act->src_proc && act->dst_proc)
+ state->transition.argument = 0;
+ else if (act->src_proc == nullptr && act->type == SIMIX_COMM_READY
+ && act->detached == 1)
+ state->transition.argument = 0;