network-house-0.1.0.1: data and parsers for Ethernet, TCP, UDP, IPv4, IPv6, ICMP, DHCP, TFTP
Net.Concurrent
Description
Concurrency primitives abstracted away from the IO monad
class (Functor io, Monad io) => ForkIO io whereSource
Methods
fork :: io () -> io ThreadIdSource
kill :: ThreadId -> io ()Source
Instances
class (Functor io, Monad io) => DelayIO io whereSource
delay :: Int -> io ()Source
class (Functor io, Monad io) => ChannelIO c io | io -> c whereSource
newChan :: io (c a)Source
readChan :: c a -> io aSource
writeChan :: c a -> a -> io ()Source
class (Functor io, Monad io) => MVarIO v io | io -> v whereSource
newEmptyMVar :: io (v a)Source
newMVar :: a -> io (v a)Source
putMVar :: v a -> a -> io ()Source
takeMVar, readMVar :: v a -> io aSource
class (Functor io, Monad io) => RefIO r io | io -> r whereSource
newRef :: a -> io (r a)Source
readRef :: r a -> io aSource
writeRef :: r a -> a -> io ()Source