/qautothread (C, Windows)

Syntax: Default:
/qautothread /qnoautothread
/qnoautothread  

This option is not applicable to C++ programs, or OS/2.

Use /qautothread to turn all static, nonconstant data into thread-local data by adding the __thread keyword to the data declarations.

For some data declarations that are not altered by /qautothread, you may have to add the __thread keyword manually.

By default, the __thread keyword is not automatically added to variable declarations.



Summary of Compiler Options