Update linux-sync-4.md

From "may be negative after `increment`"
=>"may be negative after `decrement`"
pull/807/head
nannxnann 2 years ago committed by GitHub
parent e9fbdea09a
commit ea81d2b833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save