Valued Contributor II
09-07-2007 04:56 PM
Both Windows kernel synch objects and named synchs suggest synchronization at the process level. Threading Building Blocks is a paradigm for (light-weight) thread management, aimed at minimizing the long throw of kernel accesses and maximizing the local use of data residing in the cache hierarchy. Adding process-level synchronization might tempt its use, probably to the detriment of local data retention. To this end, TBB is no mere thread library wrapper, but a different thing altogether, a task scheduler that uses threads to maximize concurrency, combined with a variety of other tools that support this cause of localization and safe thread synchronization.