Explorar el Código

Update linux-sync-4.md

From "may be negative after `increment`"
=>"may be negative after `decrement`"
nannxnann hace 2 años
padre
commit
ea81d2b833
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SyncPrim/linux-sync-4.md

+ 1 - 1
SyncPrim/linux-sync-4.md

@@ -205,7 +205,7 @@ exit:
         return;
 ```
 
-For this moment the implementation of the `__mutex_fastpath_lock` function looks pretty easy. But the value of the `mutex->counter` may be negative after increment. In this case the: 
+For this moment the implementation of the `__mutex_fastpath_lock` function looks pretty easy. But the value of the `mutex->counter` may be negative after decrement. In this case the: 
 
 ```C
 fail_fn(v);