Преглед изворни кода

Update linux-sync-4.md

From "may be negative after `increment`"
=>"may be negative after `decrement`"
nannxnann пре 2 година
родитељ
комит
ea81d2b833
1 измењених фајлова са 1 додато и 1 уклоњено
  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);