Skip to main content
Code Review

Return to Answer

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

You have a wrong assumption here. await never starts a new thread! Strictly speaking even Task.Run might not start a new thread since it uses the thread pool.

See this answer for more details on await: http://stackoverflow.com/questions/16978904/async-programming-control-flow/16980183#16980183 https://stackoverflow.com/questions/16978904/async-programming-control-flow/16980183#16980183

You have a wrong assumption here. await never starts a new thread! Strictly speaking even Task.Run might not start a new thread since it uses the thread pool.

See this answer for more details on await: http://stackoverflow.com/questions/16978904/async-programming-control-flow/16980183#16980183

You have a wrong assumption here. await never starts a new thread! Strictly speaking even Task.Run might not start a new thread since it uses the thread pool.

See this answer for more details on await: https://stackoverflow.com/questions/16978904/async-programming-control-flow/16980183#16980183

Post Migrated Here from stackoverflow.com (revisions)
Source Link
cremor
  • 211
  • 2
  • 11

You have a wrong assumption here. await never starts a new thread! Strictly speaking even Task.Run might not start a new thread since it uses the thread pool.

See this answer for more details on await: http://stackoverflow.com/questions/16978904/async-programming-control-flow/16980183#16980183

lang-cs

AltStyle によって変換されたページ (->オリジナル) /