# pthread

Tells the compiler to use pthreads library for multithreading support.

## Syntax

Linux: | -pthread

macOS: | -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.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options