X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4280d4c0a38a8f7446f7ccd28cd58f5dbee9aed1..refs/tags/v3.31:/examples/README.rst diff --git a/examples/README.rst b/examples/README.rst index dc43b35653..af59d293a2 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -353,6 +353,10 @@ 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 + + See also :py:func:`simgrid.Comm.wait_for()` and :py:func:`simgrid.Comm.wait_any_for()` + Suspending communications ^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -503,6 +507,8 @@ You can start executions on remote hosts, or even change the host on which they See also :cpp:func:`sg_exec_set_host()`. +.. _s4u_ex_ptasks: + Parallel executions ^^^^^^^^^^^^^^^^^^^ @@ -610,6 +616,8 @@ Shows how to use :cpp:type:`simgrid::s4u::Barrier` synchronization objects. .. example-tab:: examples/cpp/synchro-barrier/s4u-synchro-barrier.cpp + .. example-tab:: examples/python/synchro-barrier/synchro-barrier.py + Condition variable: basic usage ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -637,6 +645,8 @@ Shows how to use :cpp:type:`simgrid::s4u::Mutex` synchronization objects. .. example-tab:: examples/cpp/synchro-mutex/s4u-synchro-mutex.cpp + .. example-tab:: examples/python/synchro-mutex/synchro-mutex.py + Semaphore ^^^^^^^^^