virtual int main(int argc, char **argv);
/** The Actor that is currently running */
- static Actor *current();
+ static Actor &self();
/** Retrieves the actor that have the given PID (or NULL if not existing) */
//static Actor *byPid(int pid); not implemented
void send(Mailbox &chan, void*payload, size_t simulatedSize);
protected:
- smx_process_t getInferior() {return p_smx_process;}
+ smx_process_t getInferior() {return inferior_;}
private:
- smx_process_t p_smx_process;
+ smx_process_t inferior_;
};
}} // namespace simgrid::s4u