The Queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads.
There are three types of queues provides by queue module,Which are as following :
Exception which could be come:
- Full (queue overflow)
- Empty (queue underflow)