Changes

Jump to: navigation, search

Team Darth Vector

411 bytes added, 11:55, 23 November 2017
no edit summary
'''Containers Comparison'''
'''List of TBB containers:'''  concurrent_queue, : Multiple threads may simultaneously push and pop elements from thequeue.  concurrent_vector, concurrent_hash_map
'''quotes''': ''Intel Threaded Building Blocks book.''
(STL) containers generally are not concurrency-friendly, and attempts to modify
them concurrently can easily corrupt the containers.
 
'''Efficiency Comparison Parallel for and concurrent_vector'''
----
 
'''Concept:''' Fine-grained locking
 
Multiple threads operate on the container by locking only those portions they
really need to lock.
 
'''Concept:''' Lock-free algorithms
 
'''Bits of knowledge:'''
 
STL interfaces are inherently not thread-safe.
 
Threading Building Blocks containers are not templated with
an allocator argument.
20
edits

Navigation menu