Anyone who has been around children (or who acts like a child) knows that sometimes the only way to stop children from bothering each other is to separate them. The same thing can be said of TBB tasks and algorithms. When tasks or algorithms just can’t get along, we can separate them using work isolation.
For example, when using nested parallelism, we need – in some limited situations – to create work isolation in order to ensure correctness. In this chapter, ...