cosmetics
This commit is contained in:
19
ThirdParty/SmartThreadPool/SmartThreadPool.cs
vendored
19
ThirdParty/SmartThreadPool/SmartThreadPool.cs
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user