parallel-extensions-extras
parallel-extensions-extras copied to clipboard
OrderedTaskScheduler deadlock
If I start task with OrderedTaskScheduler and this task uses awaiter, which switch to another thread, I get a deadlock inside LimitedConcurrencyLevelTaskScheduler.TryExecuteTaskInline, because task completed inside my task runs continuation in from another thread and _currentThreadIsProcessingItems in that thread is false.