Safe Haskell | Trustworthy |
---|
Asynchronous communication between proxies
- spawn :: Size -> IO (Input a, Output a)
- data Size
- data Input a
- data Output a
- send :: Input a -> a -> STM Bool
- recv :: Output a -> STM (Maybe a)
- sendD :: Proxy p => Input a -> x -> p x a x a IO ()
- recvS :: Proxy p => Output a -> () -> Producer p a IO ()
- module Control.Concurrent
- module Control.Concurrent.STM
- module System.Mem
Spawn mailboxes
Send and receive messages
Proxy utilities
Re-exports
Control.Concurrent
re-exports forkIO
, although I recommend using the
async
library instead.
Control.Concurrent.STM
re-exports atomically
and STM
.
System.Mem
re-exports performGC
.
module Control.Concurrent
module Control.Concurrent.STM
module System.Mem