Commit 68dc5b0a authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

base: Add @since on GHC.IO.Handle.Lock.hUnlock

Unfortunately this was introduced in base-4.11.0 (GHC 8.4.1)
whereas the other locking primitives were added in base-4.10.0 (GHC
8.2.1).

(cherry picked from commit 3ad35f76)
parent 4c376e30
......@@ -100,6 +100,8 @@ hTryLock :: Handle -> LockMode -> IO Bool
hTryLock h mode = lockImpl h "hTryLock" mode False
-- | Release a lock taken with 'hLock' or 'hTryLock'.
--
-- @since 4.11.0.0
hUnlock :: Handle -> IO ()
hUnlock = unlockImpl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment