32
edits
Changes
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''