Visible to Intel only — GUID: GUID-53DBFB1E-EA8A-40EF-BB30-4D6A7DA667D2
Visible to Intel only — GUID: GUID-53DBFB1E-EA8A-40EF-BB30-4D6A7DA667D2
reentrancy
Tells the compiler to generate reentrant code to support a multithreaded application.
Linux: |
-reentrancy keyword -noreentrancy |
macOS: |
-reentrancy keyword -noreentrancy |
Windows: |
/reentrancy:keyword /noreentrancy |
keyword |
Specifies details about the program. Possible values are:
|
threaded |
The compiler tells the run-time library (RTL) that the program is multithreaded. |
This option tells the compiler to generate reentrant code to support a multithreaded application.
If you do not specify a keyword for reentrancy, it is the same as specifying reentrancy threaded.
To ensure that a threadsafe and/or reentrant run-time library is linked and correctly initialized, option reentrancy threaded should also be used for the link step and for the compilation of the main routine.
Note that if option threads is specified, it sets option reentrancy threaded, since multithreaded code must be reentrant.
Visual Studio: Code Generation > Generate Reentrant Code
None