Skip to content

Commit 6dee7aa

Browse files
committed
Remove TBB_USE_CAPTURED_EXCEPTION
1 parent 30f3049 commit 6dee7aa

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

source/elements/oneTBB/source/configuration/feature_macros.rst

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -36,39 +36,6 @@ enabled in the compiler, and 0 otherwise.
3636
``TBB_USE_EXCEPTIONS=0``.
3737

3838

39-
TBB_USE_CAPTURED_EXCEPTION macro
40-
--------------------------------
41-
42-
The macro
43-
``TBB_USE_CAPTURED_EXCEPTION`` controls rethrow of
44-
exceptions within the library. Because C++03 does not support catching an
45-
exception on one thread and rethrowing it on another thread, the library
46-
sometimes resorts to rethrowing an approximation called
47-
``tbb::captured_exception``.
48-
49-
* Define
50-
``TBB_USE_CAPTURED_EXCEPTION=1`` to make the library
51-
rethrow an approximation. This is useful for uniform behavior across platforms.
52-
* Define
53-
``TBB_USE_CAPTURED_EXCEPTION=0`` to request rethrow of
54-
the exact exception. This setting is valid only on platforms that support the
55-
std::exception_ptr feature of C++11. Otherwise a compile-time diagnostic is
56-
issued.
57-
58-
On Windows* , Linux* and macOS* operating systems,
59-
the default value is
60-
``1`` for supported host compilers with
61-
``std::exception_ptr``, and
62-
``0`` otherwise. On IA-64 architecture processors the
63-
default value is
64-
``0``.
65-
66-
.. caution::
67-
68-
In order for exact exception propagation to work
69-
properly an appropriate library binary should be used.
70-
71-
7239
C++11 Support
7340
-------------
7441

0 commit comments

Comments
 (0)