Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
A pin is an abstract type, representing a simple barrier that can only have its state queried in a non-blocking manner.
This useful for implementing things like passing in a hook to terminate or stop waiting for a process.
waitForPin :: Pin -> IO () Source #