ganeti
Ganeti.Utils.MVarLock
Description
Utility functions for using MVars as simple locks.
newtype Lock Source
Constructors
newLock :: MonadBase IO m => m LockSource
withLock :: MonadBaseControl IO m => Lock -> m a -> m aSource