4 ms·
> and spread trivial things across many cores in large, complex codebases How are tasks spread across cores? My main experience with the "await" paradigm is fr
by Varriount 5y ago
> and spread trivial things across many cores in large, complex codebases
How are tasks spread across cores? My main experience with the "await" paradigm is from Python, which is primarily single threaded.
- manigandham 5y agoThe .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.