C# Class System.Threading.Thread.Thread.LocalDataStore

Manages functionality required to support members of Thread dealing with thread-local data
Mostra file Open project: dotnet/corefx

Public Methods

Method Description
AllocateNamedSlot ( string name ) : LocalDataStoreSlot
AllocateSlot ( ) : LocalDataStoreSlot
EnsureNameToSlotMap ( ) : LocalDataStoreSlot>.Dictionary
FreeNamedSlot ( string name ) : void
GetData ( LocalDataStoreSlot slot ) : object
GetNamedSlot ( string name ) : LocalDataStoreSlot
SetData ( LocalDataStoreSlot slot, object value ) : void

Private Methods

Method Description
GetThreadLocal ( LocalDataStoreSlot slot ) : ThreadLocal

Method Details

AllocateNamedSlot() public static method

public static AllocateNamedSlot ( string name ) : LocalDataStoreSlot
name string
return LocalDataStoreSlot

AllocateSlot() public static method

public static AllocateSlot ( ) : LocalDataStoreSlot
return LocalDataStoreSlot

EnsureNameToSlotMap() public static method

public static EnsureNameToSlotMap ( ) : LocalDataStoreSlot>.Dictionary
return LocalDataStoreSlot>.Dictionary

FreeNamedSlot() public static method

public static FreeNamedSlot ( string name ) : void
name string
return void

GetData() public static method

public static GetData ( LocalDataStoreSlot slot ) : object
slot LocalDataStoreSlot
return object

GetNamedSlot() public static method

public static GetNamedSlot ( string name ) : LocalDataStoreSlot
name string
return LocalDataStoreSlot

SetData() public static method

public static SetData ( LocalDataStoreSlot slot, object value ) : void
slot LocalDataStoreSlot
value object
return void