X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/63c219ee10cf464f95ad9888e0814439445b53f8..16ce83b492178ee42fe7b7e658e8b189f79bbf02:/examples/README.rst diff --git a/examples/README.rst b/examples/README.rst index 7fe1a36b7d..810c7b990f 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -407,22 +407,29 @@ result in short reads and short write, as in reality. Classical synchronization objects --------------------------------- - - **Mutex:** - Shows how to use simgrid::s4u::Mutex synchronization objects. + - **Barrier:** + Shows how to use :cpp:type:`simgrid::s4u::Barrier` synchronization objects. .. tabs:: - .. example-tab:: examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp + .. example-tab:: examples/s4u/synchro-barrier/s4u-synchro-barrier.cpp - - **Barrier:** - Shows how to use simgrid::s4u::Barrier synchronization objects. + - **Condition variable:** + Shows how to use :cpp:type:`simgrid::s4u::ConditionVariable` synchronization objects. .. tabs:: - .. example-tab:: examples/s4u/synchro-barrier/s4u-synchro-barrier.cpp + .. example-tab:: examples/s4u/synchro-condition-variable/s4u-synchro-condition-variable.cpp + + - **Mutex:** + Shows how to use :cpp:type:`simgrid::s4u::Mutex` synchronization objects. + + .. tabs:: + + .. example-tab:: examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp - **Semaphore:** - Shows how to use simgrid::s4u::Semaphore synchronization objects. + Shows how to use :cpp:type:`simgrid::s4u::Semaphore` synchronization objects. .. tabs::