- smx_actor_t process = SIMIX_process_from_PID(transition.pid_);
- if (not process)
- xbt_die("Unexpected process (pid:%d).", transition.pid_);
- const s_smx_simcall* simcall = &(process->simcall_);
- if (simcall == nullptr || simcall->call_ == SIMCALL_NONE)
+ kernel::actor::ActorImpl* actor = kernel::actor::ActorImpl::by_PID(transition.pid_);
+ if (actor == nullptr)
+ xbt_die("Unexpected actor (id:%d).", transition.pid_);
+ const s_smx_simcall* simcall = &(actor->simcall_);
+ if (simcall->call_ == simix::Simcall::NONE)