entwine-0.0.4: entwine - Concurrency tools

Safe HaskellNone
LanguageHaskell98

Entwine.Data.Pin

Contents

Synopsis

Types

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.

Functions

pullPin :: Pin -> IO () Source #