Safe Haskell | None |
---|---|
Language | Haskell98 |
A trivial mutex.
Documentation
ifMutexFree :: Mutex -> Fay () -> Fay () Source
If a mutex is free run the action, otherwise don't.
whenMutexFree :: Mutex -> Fay () -> Fay () Source
Wait until the mutex is free to do something.