MulticoreInfo.com header image 2

Top Story

Writing a Generalized Concurrent Queue

October 29th, 2008 · No Comments




Herb Sutter, known for his articles on concurrency, published an article on Lock-free code on August 5th and another on creating a lock-free queue. Today Dr. Dobb’s Journal publishes another article by Herb discussing how to tackle the general problem of supporting multiple producers and multiple consumers with as much concurrency as possible.

“Last month, I showed code for a lock-free queue that supported the limited case of exactly two threads—one producer, and one consumer. That’s useful, but maybe not as exciting now that our first rush of lock-free coding glee has worn off. This month, let’s tackle the general problem of supporting multiple producers and multiple consumers with as much concurrency as possible. The code in this article uses four main design techniques”

Full Story

  • Share/Save/Bookmark

Tags: HPC · MulticoreInfo · Programming

Like what you're reading? Come back every day for multicore news, or subscribe to RSS updates.



Stumble It!