threads

Tells the linker to search for unresolved references in a multithreaded run-time library.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-threads

-nothreads

Windows:

/threads

/nothreads

Arguments

None

Default

Systems using Intel® 64 architecture: threads

On systems using Intel® 64 architectures, the linker searches for unresolved references in a mutithreaded run-time library.

Systems using IA-32 architecture: nothreads

On systems using IA-32 architecture architecture, the linker does not search for unresolved references in a mutithreaded run-time library.

Description

This option tells the linker to search for unresolved references in a multithreaded run-time library.

This option sets option reentrancy threaded.

Windows systems: The following table shows which options to specify for a multithreaded run-time library.

Type of Library

Options Required

Alternate Option

Multithreaded

/libs:static

/threads

/MT

Debug multithreaded

/libs:static

/threads

/dbglibs

/MTd

Multithreaded DLLs

/libs:dll

/threads

/MD

Multithreaded debug DLLs

/libs:dll

/threads

/dbglibs

/MDd

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.