distributed-process-0.5.0: Cloud Haskell: Erlang-style concurrency in Haskell

Safe HaskellNone
LanguageHaskell98

Control.Distributed.Process.Internal.StrictMVar

Description

Like Control.Concurrent.MVar.Strict but reduce to HNF, not NF

Documentation

newtype StrictMVar a Source

Constructors

StrictMVar (MVar a) 

putMVar :: StrictMVar a -> a -> IO () Source

withMVar :: StrictMVar a -> (a -> IO b) -> IO b Source

modifyMVar_ :: StrictMVar a -> (a -> IO a) -> IO () Source

modifyMVar :: StrictMVar a -> (a -> IO (a, b)) -> IO b Source