Nodes in an Intel® Threading Building Blocks (Intel® TBB) flow graph communicate by pushing and pulling messages. Two policies for pushing messages are used, depending on the type of the node:
An active source_node starts sending messages as soon as an edge is connected to it. If not properly managed, this can lead to dropped messages. By default, a source_node is active unless constructed in the inactive state:
Connoisseurs of mutexes distinguish various attributes of mutexes. It helps to know some of these, because they involve tradeoffs of generality and efficiency. Picking the right one often helps performance. Mutexes can be described by the following qualities, also summarized in the table below.
Perform an associative reduction operation across a data set.
Many serial algorithms sweep over a set of items to collect summary information.
Intel® Threading Building Blocks is compatible with the GCC* and Microsoft compilers. This section assumes that you are using the Intel® C++ Compiler. You can use the GCC or Microsoft C++ compilers interchangeably in the directions given below.
Macros in this section control optional features in the library.
Computes reduction over a range, with deterministic split/join behavior.
Hash support classes to use with associative containers provided by Intel® Threading Building Blocks (Intel® TBB).