Apply codespell -w throughout
This commit is contained in:
parent
100f5aabb6
commit
84b0a3707a
108 changed files with 135 additions and 135 deletions
|
@ -39,7 +39,7 @@ import Prelude
|
|||
-- or the Seconds timeout if the pid lock is held by another process.
|
||||
--
|
||||
-- There are two levels of locks. A STM lock is used to handle
|
||||
-- fine-grained locking amoung threads, locking a specific lockfile,
|
||||
-- fine-grained locking among threads, locking a specific lockfile,
|
||||
-- but only in memory. The pid lock handles locking between processes.
|
||||
--
|
||||
-- The pid lock is only taken once, and LockShared is used for it,
|
||||
|
|
|
@ -38,7 +38,7 @@ lockExclusive file = fmap fst <$> tryMakeLockHandle P.lockPool file
|
|||
(\f _ -> fmap mk <$> F.lockExclusive f)
|
||||
|
||||
{- If the initial lock fails, this is a BUSY wait, and does not
|
||||
- guarentee FIFO order of waiters. In other news, Windows is a POS. -}
|
||||
- guarantee FIFO order of waiters. In other news, Windows is a POS. -}
|
||||
waitToLock :: IO (Maybe lockhandle) -> IO lockhandle
|
||||
waitToLock = F.waitToLock
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue