From: Arnaud Giersch Date: Sat, 26 Jun 2021 19:30:26 +0000 (+0200) Subject: Don't mix C with C++ API here. X-Git-Tag: v3.28~48 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/19239598c1fe991cddb49bba49360834b7b267fd Don't mix C with C++ API here. This is in the Tutorial section and should be kept simple. --- diff --git a/docs/source/Tutorial_Algorithms.rst b/docs/source/Tutorial_Algorithms.rst index ea45203375..028038e320 100644 --- a/docs/source/Tutorial_Algorithms.rst +++ b/docs/source/Tutorial_Algorithms.rst @@ -605,11 +605,7 @@ simulation. Instead, retrieve the time in the simulated world with :cpp:func:`simgrid::s4u::Engine::get_clock`. You can still stop your workers with a specific task as previously, -or you may kill them forcefully with -:cpp:func:`simgrid::s4u::Actor::kill` (if you already have a reference -to the actor you want to kill) or -:cpp:func:`sg_actor_kill` (if you only have its ID). - +or you may kill them forcefully with :cpp:func:`simgrid::s4u::Actor::kill`. Anyway, the new deployment `deployment3.xml` file should thus look like this: