cosmetics

This commit is contained in:
UbitUmarov
2021-11-21 02:20:59 +00:00
parent c786571c2f
commit b022ae0898
2 changed files with 23 additions and 33 deletions

View File

@@ -291,9 +291,6 @@ namespace Amib.Threading
/// </summary>
private ISTPInstancePerformanceCounters _localPCs = NullSTPInstancePerformanceCounters.Instance;
[ThreadStatic]
private static ThreadEntry _threadEntry;
/// <summary>
/// An event to call after a thread is created, but before
/// it's first use.
@@ -308,23 +305,15 @@ namespace Amib.Threading
#endregion
#region Per thread properties
#region Per thread
/// <summary>
/// A reference to the current work item a thread from the thread pool
/// is executing.
/// </summary>
internal static ThreadEntry CurrentThreadEntry
{
get
{
return _threadEntry;
}
set
{
_threadEntry = value;
}
}
[ThreadStatic]
internal static ThreadEntry CurrentThreadEntry;
#endregion
#region Construction and Finalization