__declspec(thread)

From Appmethod Topics
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Modifiers, Keyword Extensions, Storage Class Specifiers

Syntax

__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