System Namespace
Encapsulates a memory slot to store local data. This class cannot be inherited.
Visibility |
Name |
Parameters |
Return Type |
protected |
Finalize |
( )
|
Void
|
|
Threads and contexts use a local store memory mechanism to store thread-specific and context-specific data, respectively. The common language runtime allocates a multi-slot data store array to each process when it is created. The thread or context calls various functions to allocate a data slot in the data store, to store and retrieve a data value in the slot, and to free a data slot for reuse after the thread or context object expires.
The data slots are unique per thread or context; their values are not shared between the thread or context objects. Data slots can be allocated by a name or by an index number.
For more information, see Thread or Context.
Thread Context