Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-8A7BBC17-9F10-43BA-B8DD-DF760FA75F55
Visible to Intel only — GUID: GUID-8A7BBC17-9F10-43BA-B8DD-DF760FA75F55
pthread
Tells the compiler to use pthreads library for multithreading support.
Syntax
Linux: |
-pthread |
Windows: |
None |
Arguments
None
Default
OFF |
The compiler does not use pthreads library for multithreading support. |
Description
Tells the compiler to use pthreads library for multithreading support.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None