Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Better fix for the mutex IDs modifications in mutex-MC test
[simgrid.git] / examples / cpp / synchro-mutex / s4u-synchro-mutex.cpp
index 648024aa788fc702c134e175fd8e36cbbc1cb0ac..52e2595aa23508d1bb58b90b0768c319477870e4 100644 (file)
@@ -49,7 +49,6 @@ static void master()
   /* Create the requested amount of actors pairs. Each pair has a specific mutex and cell in `result`. */
   int result[cfg_actor_count.get()];
 
-  sg4::MutexPtr mutex = sg4::Mutex::create();
   for (int i = 0; i < cfg_actor_count; i++) {
     result[i]           = 0;
     sg4::MutexPtr mutex = sg4::Mutex::create();