Browse Source

fix typo in linux-sync-4.md

From "function will `acct` like "
=> function will `act` like 

Maybe another typo or not?
nannxnann 2 years ago
parent
commit
e9fbdea09a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SyncPrim/linux-sync-4.md

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

@@ -303,7 +303,7 @@ static bool mutex_optimistic_spin(struct mutex *lock,
 #endif
 ```
 
-In all of these cases, the `__mutex_lock_common` function will acct like a `semaphore`. We try to acquire a lock again because the owner of a lock might already release a lock before this time:
+In all of these cases, the `__mutex_lock_common` function will act like a `semaphore`. We try to acquire a lock again because the owner of a lock might already release a lock before this time:
 
 ```C
 if (!mutex_is_locked(lock) &&