Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • So as I get it, the the thread where the awaited Delay() task gets sent to can be used to process other tasks, while Delay() is under way? Commented Aug 15, 2015 at 10:19
  • @cubrman: What do you mean by "where the awaited Delay() task gets sent"? Delay() returns a Task, and that task is completed a second later... it's not like this is a task which is actually doing anything. If you're comfortable with how System.Timers.Timer works (or similar) it's like that. Commented Aug 15, 2015 at 10:21
  • @cubrman The "Delay" does not happen on process. It happens on a piece of hardware called a clock/timer. It does not in anyway take resources from the program logic part of the CPU. Commented Dec 4, 2015 at 10:50
  • 2
    @cubrman Your question is like asking "When I set my alarm clock for the morning, which part of my brain does the checking "task" of when to wake up?" Commented Dec 4, 2015 at 10:52