Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
AAAAh. let's try to fix the fix of a fix. Correctly if possible
[simgrid.git] / src / simix / smx_synchro.c
index e80c9cf..7a27b49 100644 (file)
@@ -404,7 +404,7 @@ void SIMIX_sem_release_forever(smx_sem_t sem) {
     xbt_swag_remove(proc, sem->sleeping);
     xbt_swag_insert(proc, simix_global->process_to_run);
   }
-  sem->capacity == SMX_SEM_NOLIMIT;
+  sem->capacity = SMX_SEM_NOLIMIT;
 }
 
 /**