Visual Studio Task Window - awaiting vs blocked Tasks

Viewed 206

In the Tasks Window, while debugging, what is the difference between a Task whose status is "blocked" vs "awaiting"?

Some Tasks Blocked, some tasks Awaiting

I am trying to make sense of a "bad version"'s memory dump with thousands of tasks (scheduled, awaiting, blocked), and the Microsoft documentation does not seem to provide any differentiation between the blocked and awaiting statuses, in my understanding.

Extract from https://docs.microsoft.com/en-us/visualstudio/debugger/using-the-tasks-window?view=vs-2019

An awaiting or blocked task is one that is blocked because it is waiting on an event to be signaled, a lock to be released, or another task to finish.

I'll focus on synchronization mechanisms while I dig through the code, to see if I can find differences and an explanation.

Meanwhile, I thought someone might already know, and I did not find any similar questions. Thanks!

1 Answers
Related