Re:Asynchronous Programming in C#
by manigandham on Friday September 24, 2021 @01:27PM
(#28645396)
The .NET runtime has a threadpool with local/software threads that share the workload. The Tasks (from async operations) are spread across this threadpool, although depending on many factors (how quick it finishes, overall load, etc) they might just run on the same thread anyway.
How are tasks spread across cores? My main experience with the "await" paradigm is from Python, which is primarily single threaded.