Safe Haskell | None |
---|
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.
Safe Haskell | None |
---|
A trivial mutex.
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.