Open main menu

CDOT Wiki β

Changes

Team Darth Vector

3 bytes removed, 00:06, 14 December 2017
m
List of TBB containers:
STL supports a variety of containers for data storage. Generally these containers are supported in parallel for read actions, but does not safely support writing to the container with or without reading at the same time. There are several header files that are included such as "'''<vector>'''", "'''<queue>'''", and "'''<deque>'''".
===List of TBB containers:===
'''<u>concurrent_queue</u>''' : This is the concurrent version of the STL container Queue. This container supports first-in-first-out data storage like its STL counterpart. Multiple threads may simultaneously push and pop elements from the queue. Queue does NOT support and front() or back() in concurrent operations(the front could change while accessing). Also supports iterations, but are slow and are only intended for debug. This is defined within the header "'''tbb/concurrent_queue.h'''" and is coded as: <pre>
32
edits