base-compat-0.8.0.1: A compatibility layer for base

Safe HaskellSafe-Inferred
LanguageHaskell98

Control.Concurrent.MVar.Compat

Synopsis

Documentation

withMVarMasked :: MVar a -> (a -> IO b) -> IO b

Like withMVar, but the IO action in the second argument is executed with asynchronous exceptions masked.

Since: 4.7.0.0