Made scheduler internal

This commit is contained in:
Federico Barresi
2020-01-21 14:57:06 +01:00
parent 5f352cfe46
commit d8516b9a2b

View File

@@ -11,7 +11,7 @@ namespace Sharp7.Rx.Basics
/// running on top of the ThreadPool. /// running on top of the ThreadPool.
/// from http://msdn.microsoft.com/en-us/library/ee789351.aspx /// from http://msdn.microsoft.com/en-us/library/ee789351.aspx
/// </summary> /// </summary>
public class LimitedConcurrencyLevelTaskScheduler : TaskScheduler internal class LimitedConcurrencyLevelTaskScheduler : TaskScheduler
{ {
/// <summary>Whether the current thread is processing work items.</summary> /// <summary>Whether the current thread is processing work items.</summary>
[ThreadStatic] private static bool currentThreadIsProcessingItems; [ThreadStatic] private static bool currentThreadIsProcessingItems;