-
Petr Pudlak authored
It just encapsulates 'MVar ()', but hides the implementation and enforces that the only way how to use a lock is to (internally) use 'bracket'. This ensures that the lock never becomes locked forever due to a programing error or an exception. Signed-off-by: Petr Pudlak <pudlak@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com>
e703a8e9