I am new to TPL and I am wondering: How does the asynchronous programming support that is new to C# 5.0 (via the new async
and await
keywords) relate to the creation of threads?
Specifically, does the use of async/await
create a new thread each time that they are used? And if there many nested methods that use async/await
, is a new thread created for each of those methods?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…