Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
A queue is an abstract type, representing a simple bounded FIFO channel that can only have its state queried in a non-blocking manner.
This useful for implementing things like passing data between a producer and consumer process with back presure.
writeQueue :: Queue a -> a -> IO () Source #