ethanrox
What is the most modern source for CLR internals
welll there is Addison Wesley
https://www.amazon.com/Essential-NET-Common-Language-Runtime/dp/0201734117
8 replies
IO threads - why need them?
thanks again to @abyssptr for the great pointers
I think anybody interested in the original question needs to read this file from the source code (Windows case) and the IOCompletionPoller class in particular which is what the IO Thread really is.
"// Poller threads are typically expected to be few in number and have to compete for time slices with all
// other threads that are scheduled to run. They do only a small amount of work and don't run any user code."
(this behavior can be changed and they can run continuation code if UnsafeInlineIOCompletionCallbacks is set to true via en variable...but not typically the case)
https://github.com/dotnet/runtime/blob/0a5418d7e7ae7f7653a32004c808881af5275469/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.IO.Windows.cs#L141
151 replies