pthread

Tells the compiler to use pthreads library for multithreading support.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -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.

Alternate Options

None