Archive for July 2012
Improving Futures and Callbacks in C++ To Avoid Synching by Waiting
Posted on Saturday, July 28, 2012 at 9:35 AM by Malcolm
The C++11 standard provides several long-requested concurrency features such as the std::thread, std::future, and others. While those are a welcome addition to the language, in this article, the author showed that they are not sufficient for all but the most basic concurrency needs. He further argued that the primitives in C++11 are particularly ill-suited for modern applications that must deal with the concurrency imposed by I/O operations and exploit multicore at the same time. Microsoft's Parallel Pattern Library (PPL) provides a solution using tasks. Read the rest of the article here.