entwine-0.0.2: entwine - Concurrency tools

Safe HaskellNone
LanguageHaskell98

Entwine.Data.Pin

Synopsis

Documentation

data Pin Source #

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.

pullPin :: Pin -> IO () Source #