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
A simcall seems superfluous here (+ constify).
[simgrid.git]
/
include
/
simgrid
/
actor.h
diff --git
a/include/simgrid/actor.h
b/include/simgrid/actor.h
index
5871dc0
..
4dddd46
100644
(file)
--- a/
include/simgrid/actor.h
+++ b/
include/simgrid/actor.h
@@
-20,8
+20,8
@@
SG_BEGIN_DECL()
You should not access directly to the fields of the pointed structure, but always use the provided API to interact
with actors.
*/
You should not access directly to the fields of the pointed structure, but always use the provided API to interact
with actors.
*/
-XBT_PUBLIC
in
t sg_actor_get_PID(sg_actor_t actor);
-XBT_PUBLIC
in
t sg_actor_get_PPID(sg_actor_t actor);
+XBT_PUBLIC
aid_
t sg_actor_get_PID(sg_actor_t actor);
+XBT_PUBLIC
aid_
t sg_actor_get_PPID(sg_actor_t actor);
XBT_PUBLIC sg_actor_t sg_actor_by_PID(aid_t pid);
XBT_PUBLIC const char* sg_actor_get_name(sg_actor_t actor);
XBT_PUBLIC sg_host_t sg_actor_get_host(sg_actor_t actor);
XBT_PUBLIC sg_actor_t sg_actor_by_PID(aid_t pid);
XBT_PUBLIC const char* sg_actor_get_name(sg_actor_t actor);
XBT_PUBLIC sg_host_t sg_actor_get_host(sg_actor_t actor);
@@
-39,6
+39,9
@@
XBT_PUBLIC void sg_actor_kill(sg_actor_t actor);
XBT_PUBLIC void sg_actor_kill_all();
XBT_PUBLIC void sg_actor_set_kill_time(sg_actor_t actor, double kill_time);
XBT_PUBLIC void sg_actor_yield();
XBT_PUBLIC void sg_actor_kill_all();
XBT_PUBLIC void sg_actor_set_kill_time(sg_actor_t actor, double kill_time);
XBT_PUBLIC void sg_actor_yield();
+XBT_PUBLIC void sg_actor_sleep_for(double duration);
+XBT_PUBLIC sg_actor_t sg_actor_attach(const char* name, void* data, sg_host_t host, xbt_dict_t properties);
+XBT_PUBLIC void sg_actor_detach();
SG_END_DECL()
#endif /* INCLUDE_SIMGRID_ACTOR_H_ */
SG_END_DECL()
#endif /* INCLUDE_SIMGRID_ACTOR_H_ */