It could be used to say if the host failed during that execution, but
the actor would be killed on such failure anyway. So it can only
return "no problem". Not that useful.
}
/** Block the actor, computing the given amount of flops */
- XBT_PUBLIC(e_smx_state_t) execute(double flop);
+ XBT_PUBLIC(void) execute(double flop);
/** Block the actor until it gets a message from the given mailbox.
*
simcall_process_sleep(timeout - now);
}
-e_smx_state_t execute(double flops) {
+void execute(double flops)
+{
smx_activity_t s = simcall_execution_start(nullptr,flops,1.0/*priority*/,0./*bound*/);
- return simcall_execution_wait(s);
+ simcall_execution_wait(s);
}
void* recv(MailboxPtr chan) {