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