GA

Enables faster access to certain thread-local storage (TLS) variables.

IDE Equivalent

Windows: C/C++ > Optimization > Optimize for Windows Applications

Linux: None

Mac OS: None

Architectures

IA-32, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: None
Windows:    /GA

Arguments

None

Default

OFF      Default access to TLS variables is in effect.(??)

Description

This option enables faster access to certain thread-local storage (TLS) variables. When you compile your main executable (.EXE) program with this option, it allows faster access to TLS variables declared with the __declspec(thread) specification.

Note that if you use this option to compile .DLLs, you may get program errors.

Alternate Options

None