Making the Line Move Faster
No one likes standing in line, but if you’re going to be doing any serious parallel processing, you’ll run into many queues as a way for threads or processes to send messages to each other. Usually they’re implemented in software, which adds a level of overhead to the programs, in particular when putting things on or taking them off the queue.
For instance, when putting a new item into the queue, you have to check to see if there is room in the queue, and you have to upgrade the head … Read More → "Making the Line Move Faster"