]>
Commit | Line | Data |
---|---|---|
c63539ff ML |
1 | .. |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. _enabling-libitm: | |
7 | ||
8 | Enabling libitm | |
9 | --------------- | |
10 | ||
11 | To activate support for TM in C/C++, the compile-time flag :option:`-fgnu-tm` | |
12 | must be specified. This enables TM language-level constructs such as | |
3ed1b4ce | 13 | transaction statements (e.g., ``__transaction_atomic``, see :ref:`c-c++-language-constructs-for-tm` for details). |