Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Vishal_O_
Beginner
45 Views

best threadsafe containters

Whatare the best containers for multi-core parallel development. MFC CObect based containers such as CArray<>, TBB containers, or STL containers.
0 Kudos
2 Replies
TimP
Black Belt
45 Views

You seem to ask different, extremely broad, questions in your title and your text. If you would ask the question clearly on the TBB forum, at least there you should get some expert opinions on the merits of TBB. I'm guessing you mean to restrict your development to Visual Studio for Windows, in which case the scope for optimization of TBB may be better than for the others, not that people always do multi-core development in the interest of performance.
Dmitry_Vyukov
Valued Contributor I
45 Views

vishal@ams-us.com:
Whatare the best containers for multi-core parallel development. MFC CObect based containers such as CArray<>, TBB containers, or STL containers.


The best (wrt performance and scalability) containers for multi-core parallel development are always containers designed for particular context. Such containers can take into consideration read/write ratio, needed operations, number of threads, size of objects etc.


Reply