Make sure to enqueue a task to wait for and destroy graphs that run outside the main thread.
To cancel a graph execution without an exception, you can create the graph using an explicit task_group_context, and then call cancel_group_execution() on that object. This is done in the example below:
Release version of the proxy library is libtbbmalloc_proxy.so.2, debug version is libtbbmalloc_proxy_debug.so.2.
The following dynamic memory functions are replaced:
This section provides some common parallel programming patterns and how to implement them in Intel® Threading Building Blocks (Intel® TBB).
The description of each pattern has the following format:
Problem – describes the problem to be solved.
Intel® Threading Building Blocks (Intel® TBB) can be mixed with other threading packages. No special effort is required to use any part of Intel® TBB with other threading packages.
Requirements for type representing a recursively divisible set of values.
The following table lists the requirements for a Range type R.