129
edits
Changes
→List of TBB containers:
===List of TBB containers:===
'''<u>concurrent_queue</u>''' : Multiple threads may simultaneously push and pop elements from the
queue.
'''<u>concurrent_vector</u>''' : This is a container class for vectors with concurrent support. These vectors do not support insertion or erase operations but support supports concurrent operations. Note that when elements are inserted, they cannot be removed without calling the clear() member function on it, which removes every element in the array. This is defined within the header "'''tbb/concurrent_vector.h'''" and is coded as: <blockquote> '''tbb:concurrent_vector<type> name''' </blockquote>
'''<u>concurrent_hash_map</u>''' : hash table that permits concurrent accesses.
'''quotes''': ''Intel Threaded Building Blocks book.''