X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/472cf2ae0b7d14830217c5a0024c5c27c2336af4..17ac6c61bd407825851b824adbfa28d64fb69587:/examples/README.rst diff --git a/examples/README.rst b/examples/README.rst index 9fe8b5f8cc..a03eb65021 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -355,9 +355,9 @@ This example is very similar to the previous one, simply adding how to declare t See also :cpp:func:`simgrid::s4u::Activity::wait_until()` and :cpp:func:`simgrid::s4u::Comm::wait_for()`. - .. example-tab:: examples/python/comm-waitfor/comm-waitfor.py + .. example-tab:: examples/python/comm-waituntil/comm-waituntil.py - See also :py:func:`simgrid.Comm.wait_for()` and :py:func:`simgrid.Comm.wait_any_for()` + See also :py:func:`simgrid.Comm.wait_until()` Suspending communications ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -540,6 +540,10 @@ This allows simulating malleable tasks. See also :cpp:func:`simgrid::s4u::this_actor::parallel_execute()`. + .. example-tab:: examples/python/exec-ptask/exec-ptask.py + + See also :ref:`simgrid.this_actor.parallel_execute()` + DVFS and pstates ^^^^^^^^^^^^^^^^ @@ -666,6 +670,8 @@ Shows how to use :cpp:type:`simgrid::s4u::Semaphore` synchronization objects. .. example-tab:: examples/cpp/synchro-semaphore/s4u-synchro-semaphore.cpp + .. example-tab:: examples/python/synchro-semaphore/synchro-semaphore.py + .. example-tab:: examples/c/synchro-semaphore/synchro-semaphore.c ============================= @@ -737,6 +743,8 @@ failures in your code. See also :ref:`howto_churn`. .. example-tab:: examples/c/platform-failures/platform-failures.c + .. example-tab:: examples/python/platform-failures/platform-failures.py + .. group-tab:: XML .. showfile:: examples/platforms/small_platform_failures.xml @@ -965,7 +973,7 @@ Shows how to implement a classical communication pattern, where a token is excha Master Workers ^^^^^^^^^^^^^^ -Another good old example, where one Master acto$ has a bunch of tasks to dispatch to a set of several Worker actors. +Another good old example, where one Master actor has a bunch of tasks to dispatch to a set of several Worker actors. This example is used in the :ref:`SimGrid tutorial `. .. tabs:: @@ -989,6 +997,8 @@ This example is used in the :ref:`SimGrid tutorial `. .. showfile:: examples/c/app-masterworker/app-masterworker.c :language: cpp + .. example-tab:: examples/python/app-masterworkers/app-masterworkers.py + Data diffusion --------------