|
@@ -17,6 +17,7 @@ namespace Amib.Threading
|
|
private bool _enableLocalPerformanceCounters;
|
|
private bool _enableLocalPerformanceCounters;
|
|
private string _threadPoolName = SmartThreadPool.DefaultThreadPoolName;
|
|
private string _threadPoolName = SmartThreadPool.DefaultThreadPoolName;
|
|
private int? _maxStackSize = SmartThreadPool.DefaultMaxStackSize;
|
|
private int? _maxStackSize = SmartThreadPool.DefaultMaxStackSize;
|
|
|
|
+ private bool _supressflow = false;
|
|
|
|
|
|
public STPStartInfo()
|
|
public STPStartInfo()
|
|
{
|
|
{
|
|
@@ -39,6 +40,7 @@ namespace Amib.Threading
|
|
_threadPoolName = stpStartInfo._threadPoolName;
|
|
_threadPoolName = stpStartInfo._threadPoolName;
|
|
_areThreadsBackground = stpStartInfo.AreThreadsBackground;
|
|
_areThreadsBackground = stpStartInfo.AreThreadsBackground;
|
|
_apartmentState = stpStartInfo._apartmentState;
|
|
_apartmentState = stpStartInfo._apartmentState;
|
|
|
|
+ _supressflow = stpStartInfo._supressflow;
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -191,5 +193,15 @@ namespace Amib.Threading
|
|
_maxStackSize = value;
|
|
_maxStackSize = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public bool SuppressFlow
|
|
|
|
+ {
|
|
|
|
+ get { return _supressflow; }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ ThrowIfReadOnly();
|
|
|
|
+ _supressflow = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|