Does any one know how to use the following classes in ParallelExtensionExtras and what they are used for?
IOCompletionPortTaskScheduler.cs
IOTaskScheduler.cs
IOTaskScheduler
While we often refer to “the” .NET thread pool, the
ThreadPoolabstraction in .NET is actually built on top of two pools, one referred to as the worker pool and one referred to as the I/O pool. The former is what’s targeted by theQueueUserWorkItemmethod as well as by the defaultTaskScheduler, while the latter is targeted by theUnsafeQueueNativeOverlappedmethod, and is frequently used for work in Windows Communication Foundation and Windows Workflow Foundation. TheIOTaskSchedulerscheduler in the IOTaskScheduler.cs file runs tasks on this I/O thread pool via theUnsafeQueueNativeOverlappedmethod.
From here: ParallelExtensionsExtras Tour – #7 – Additional TaskSchedulers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With