Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Document our mutexes
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 24 Oct 2023 23:04:05 +0000 (01:04 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 24 Oct 2023 23:04:05 +0000 (01:04 +0200)
include/simgrid/s4u/Mutex.hpp

index 7791cd7..2e7a101 100644 (file)
@@ -12,6 +12,8 @@
 namespace simgrid::s4u {
 
 /** @brief A classical mutex, but blocking in the simulation world.
+ *
+ * S4U mutexes are not recursive. If an actor tries to lock the same object twice, it deadlocks with itself.
  *
  * @beginrst
  * It is strictly impossible to use a real mutex, such as