August 2003
Intermediate to advanced
928 pages
32h 1m
English
LocalDataStoreSlot
The CLR allocates a multislot
local data store to each process when
it starts. These slots are used for thread-specific and
context-specific data, and are not shared between threads or
contexts. The LocalDataStoreSlot class
encapsulates one of these slots. It’s used by the
GetData( ) and SetData( )
methods in the System.Threading.Thread and
System.Runtime.Remoting.Contexts.Context classes.
public sealed class LocalDataStoreSlot { // Protected Instance Methods protected override void Finalize( ); // overrides object }
System.Threading.Thread.{AllocateDataSlot( ),
AllocateNamedDataSlot( ),
GetNamedDataSlot( )}
System.Threading.Thread.{GetData( ),
SetData( )}