6.62.1. ISO/IEC 9899:1999 Edits for Thread-Local Storage
6.62.1 ISO/IEC 9899:1999 Edits for Thread-Local Storage
The following are a set of changes to ISO/IEC 9899:1999 (aka C99) that document the exact semantics of the language extension.
- 5.1.2 Execution environments
Add new text after paragraph 1
Within either execution environment, a thread is a flow of control within a program. It is implementation defined whether or not there may be more than one thread associated with a program. It is implementation defined how threads beyond the first are created, the name and type of the function called at thread startup, and how threads may be terminated. However, objects with thread storage duration shall be initialized before thread startup.
- 6.2.4 Storage durations of objects
Add new text before paragraph 3
An object whose identifier is declared with the storage-class specifier
__thread
has thr