Open main menu

CDOT Wiki β

Changes

Team Darth Vector

759 bytes added, 20:29, 26 November 2017
no edit summary
https://www.inf.ed.ac.uk/teaching/courses/ppls/TBBtutorial.pdf
 
 
'''Coding Time Comparison for STL and TBB'''
----
 
'''Parallel Algorithms support'''
 
C++11 STL does not have much to offer for parallel algorithms natively unlike TBB
 
''Though there are new algorithms for parallelism in the C++17 standard''
 
''More: http://www.bfilipek.com/2017/08/cpp17-details-parallel.html''
 
'''Resource management'''
 
Overall partitioning, thread creation, and management is hidden in TBB
 
Thread Creation, terminating, and synchronizing is handled by TBB
 
The thread creation and overall resource for STL is managed by a combination of libraries;
 
-thread for creation and joining
 
-mutex for mutual exclusion and locks
 
-future for accessing results of asynchronous operations
 
''Details: http://en.cppreference.com/w/cpp/thread''
32
edits