Skip to content

Commit

Permalink
[imt] Require TBB without captured exceptions
Browse files Browse the repository at this point in the history
If TBB_USE_CAPTURED_EXCEPTION is set, tbb_config.h checks if the
support for exact exception propagation is available.

Related to ROOT-10636
  • Loading branch information
hahnjo committed May 18, 2021
1 parent a0b5e3d commit 86181e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/imt/src/RTaskArena.cxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Require TBB without captured exceptions
#define TBB_USE_CAPTURED_EXCEPTION 0
#include "tbb/tbb_config.h"

#include "ROOT/RTaskArena.hxx"
#include "ROpaqueTaskArena.hxx"
#include "TError.h"
Expand Down
4 changes: 4 additions & 0 deletions core/imt/src/TThreadExecutor.cxx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Require TBB without captured exceptions
#define TBB_USE_CAPTURED_EXCEPTION 0
#include "tbb/tbb_config.h"

#include "ROOT/TThreadExecutor.hxx"
#include "ROpaqueTaskArena.hxx"
#if !defined(_MSC_VER)
Expand Down

0 comments on commit 86181e8

Please sign in to comment.