privileged-concurrency-0.7.0: Provides privilege separated versions of the concurrency primitives.

Safe HaskellSafe
LanguageHaskell2010

Control.Concurrent.STM.TMVar.Class

Documentation

class TMVarWrite var where Source #

Minimal complete definition

putTMVar, tryPutTMVar

Methods

putTMVar :: var a -> a -> STM () Source #

tryPutTMVar :: var a -> a -> STM Bool Source #

class TMVarRead var where Source #

Minimal complete definition

takeTMVar, readTMVar, tryTakeTMVar

Methods

takeTMVar :: var a -> STM a Source #

readTMVar :: var a -> STM a Source #

tryTakeTMVar :: var a -> STM (Maybe a) Source #