.. example-tab:: examples/python/actor-kill/actor-kill.py
- See also :py:func:`simgrid.Actor.kill`, :py:func:`simgrid.Actor.kill_all`, :py:func:`simgrid.this_actor.exit`,
+ See also :py:func:`simgrid.Actor.kill()`, :py:func:`simgrid.Actor.kill_all()`, :py:func:`simgrid.this_actor.exit()`,
:py:func:`simgrid.this_actor.on_exit`.
.. example-tab:: examples/c/actor-kill/actor-kill.c
.. example-tab:: examples/python/actor-migrate/actor-migrate.py
- See also :py:func:`simgrid.this_actor.set_host()` and :py:func:`simgrid.Actor.set_host()`.
+ See also :py:attr:`simgrid.Actor.host`.
.. example-tab:: examples/c/actor-migrate/actor-migrate.c
See also :py:func:`simgrid.this_actor.exec_init()`,
:py:func:`simgrid.Activity.start()`,
:py:func:`simgrid.Activity.wait()`,
- :py:func:`simgrid.Activity.get_remaining()`,
- :py:func:`simgrid.Exec.get_remaining_ratio()`,
+ :py:attr:`simgrid.Exec.remaining`,
+ :py:attr:`simgrid.Exec.remaining_ratio`,
:py:func:`simgrid.this_actor.exec_async()` and
:py:func:`simgrid.Activity.cancel()`.
.. example-tab:: examples/python/exec-remote/exec-remote.py
- See also :py:func:`simgrid.Exec.set_host()`.
+ See also :py:attr:`simgrid.Exec.host`.
.. example-tab:: examples/c/exec-remote/exec-remote.c
.. example-tab:: examples/python/exec-dvfs/exec-dvfs.py
- See also :py:func:`Host.get_pstate_speed` and :py:func:`Host.set_pstate`.
+ See also :py:attr:`Host.pstate_speed` and :py:func:`Host.set_pstate()`.
.. example-tab:: examples/platforms/energy_platform.xml
.. showfile:: examples/c/dht-kademlia/node.c
:language: cpp
+Pastry
+^^^^^^
+
+Yet another well-known DHT protocol.
+
+.. tabs::
+
+ .. example-tab:: examples/c/dht-pastry/dht-pastry.c
+
.. _s4u_ex_clouds:
Simulating Clouds