top-image

Tag archives for SynchronousQueue

Java: BlockingQueue implementation SynchronousQueue (Part5)
After my post concerning presentation of Queue/BlockingQueue, I would continue with a post about the BlockingQueue implementation: java.util.concurrent.SynchronousQueue. This implementation of BlockingQueue stores and keeps ONLY a single element internally. For example, a producer thread inserting an element into the queue is blocked until another consumer thread takes that element from the queue. Similarly, if the consumer thread tries to take ...more»
Java: We have said Queue/BlockingQueue?! (Part1)
After my post concerning Multi tasks, Multi threading, Synchronization, Semaphore, Mutex, Barrier, I would continue with a post about the presentation of java.util.Queue and java.util.concurrent.BlockingQueue. First, what is a Queue? In computer science, a queue is simply a collection that order elements in a FIFO (First-In-First-Out) manner, ie that the elements are always added to the end and taken from the beginning. However, there ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.