entwine-0.0.2: entwine - Concurrency tools
Entwine.Data.Queue
data Queue a Source #
newQueue :: Int -> IO (Queue a) Source #
readQueue :: Queue a -> IO a Source #
tryReadQueue :: Queue a -> IO (Maybe a) Source #
writeQueue :: Queue a -> a -> IO () Source #
isQueueEmpty :: Queue a -> IO Bool Source #