From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index

Note: This feature is available only for the classic bcc32 compiler, not for the modern Clang-enhanced compiler.


Modifiers (C++), Keyword Extensions, Storage Class Specifiers (C++)


__declspec( thread ) declarator

The thread extended storage-class modifier is used to declare a thread local variable.

Thread Local Storage (TLS) is the method by which each thread in a given multithreaded process allocates storage for thread-specific data.

Alternative declaration (see sysmac.h): DELPHITHREAD.

See also