Open main menu

CDOT Wiki β

Changes

Team Darth Vector

595 bytes added, 17:37, 4 December 2017
Lock Convoying in TBB
===Lock Convoying in TBB===
Put another picture hereTBB attempts to mitigate the performance issue from parallel code when accessing or completing an operation on a container through its own containers such as concurrent_vector. Through concurrent vector, every time an element is accessed/changed, a return of the index location is given. TBB promises that any time an element is pushed, it will always be in the same location, no matter if the size of the vector changes in memory. With a standard vector, when the size of the vector changes, the data is copied over. If any threads are currently traversing this vector when the size changes, it will cause problems.
129
edits