Could someone write an example how to handle an exception in tbb?
I mean let me suppose and an exception is generated inside parallel_for.
E.g. throw "fatal error";
How could someone pass it out so it can be caught outside the parallel_for?
I have not seen an example for that.