Skip to content
Snippets Groups Projects
Commit 8abddac8 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
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).
parent 266435a7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment