A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s4u: stick to the new naming conventions
[simgrid.git]
/
include
/
simgrid
/
s4u
/
actor.hpp
diff --git
a/include/simgrid/s4u/actor.hpp
b/include/simgrid/s4u/actor.hpp
index
696da86
..
8c6e1fc
100644
(file)
--- a/
include/simgrid/s4u/actor.hpp
+++ b/
include/simgrid/s4u/actor.hpp
@@
-49,9
+49,9
@@
public:
virtual int main(int argc, char **argv);
/** The Actor that is currently running */
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) */
/** Retrieves the actor that have the given PID (or NULL if not existing) */
- static Actor *byPid(int pid);
+ //static Actor *byPid(int pid); not implemented
/** Retrieves the name of that actor */
const char*getName();
/** Retrieves the name of that actor */
const char*getName();
@@
-95,9
+95,9
@@
public:
void send(Mailbox &chan, void*payload, size_t simulatedSize);
protected:
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:
private:
- smx_process_t
p_smx_process
;
+ smx_process_t
inferior_
;
};
}} // namespace simgrid::s4u
};
}} // namespace simgrid::s4u