Questions générales :
- Quel est votre rôle chez Intel ?
Concurrent operations (count, find, insert, and erase) invalidate any existing iterators that point into the table, An exception to this rule is that count and find do not invalidate iterators if no insertions or erasures have occurred after the most recent call to method rehash.
One of the things that was introduced with the TBB 2.2 release was support for functional parallelism or the high-level task scheduling API, whichever you wish to call it. This was the task_group class which allowed users to spawn tasks, which wrap user functions that could potentially run in parallel, and more functions could be added to the same task group dynamically. The TBB Reference Manual explains task_group using the ubiquitous Fibonacci example. There is another situation where task_group could be a very good fit as well: