tls

Applies to C programs Applies to C++ programs

Purpose

Specifies the thread-local storage model to be used by the application.

Syntax


Syntax Diagram
  1. Default if the -qnopic compiler option is in effect.
  2. Default if the -qpic compiler option is in effect.

Notes

This option selects the model used to access thread-local storage.

On systems that support gcc's __thread keyword, the vac_configure tool adds -qtls to the set of default options in the compiler configuration file.

If -qtls is specified without suboptions, the compiler assumes the following settings:

Related References

Compiler Command Line Options
pic IBM Copyright 2003