Intel’s Thread Building Blocks 2.1 adds a host of features, including the ability to terminate tasks. This is handy when a thread within a group determines that a solution has been found or an error has been detected such that the rest of the related computation can be terminated. Other new features include a parallel_do function that operates like a foreach loop found in other programming languages, recursive mutex support, and a new thread abstraction. The memory allocator is more scalable and customizable. An automatic affinity partitioner keeps common threads on the same core to improve cache performance. This latest version is available as open source as well as a supported package from Intel.
Intel • www.intel.com