|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | FinalizationHelper |
| class | IdManager |
| class | LinkedSlot |
| struct | LinkedSlotVolatile |
Public Member Functions | |
| ThreadLocal () | |
| ThreadLocal (bool trackAllValues) | |
| ThreadLocal (Func< T > valueFactory) | |
| ThreadLocal (Func< T > valueFactory, bool trackAllValues) | |
| void | Dispose () |
| override? string | ToString () |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Properties | |
| T | Value [get, set] |
| IList< T > | Values [get] |
| int | ValuesCountForDebugDisplay [get] |
| bool | IsValueCreated [get] |
| T? | ValueForDebugDisplay [get] |
| List< T >? | ValuesForDebugDisplay [get] |
Private Member Functions | |
| void | Initialize (Func< T > valueFactory, bool trackAllValues) |
| ~ThreadLocal () | |
| T | GetValueSlow () |
| void | SetValueSlow (T value, LinkedSlotVolatile[] slotArray) |
| void | CreateLinkedSlot (LinkedSlotVolatile[] slotArray, int id, T value) |
| List< T > | GetValuesAsList () |
Static Private Member Functions | |
| static void | GrowTable (ref LinkedSlotVolatile[] table, int minLength) |
| static int | GetNewTableSize (int minSize) |
Private Attributes | |
| Func< T > | _valueFactory |
| int | _idComplement |
| volatile bool | _initialized |
| LinkedSlot | _linkedSlot = new LinkedSlot(null) |
| bool | _trackAllValues |
Static Private Attributes | |
| static LinkedSlotVolatile[] | ts_slotArray |
| static FinalizationHelper | ts_finalizationHelper |
| static readonly IdManager | s_idManager = new IdManager() |
Definition at line 9 of file ThreadLocal.cs.