Skip to content

Document meaning of asterisk in !dumpasync output #882

Open

Description

In the documentation for !dumpasync there's no mention of what an asterisk (*) in the output means.

https://github.com/microsoft/vs-threading/blob/main/doc/dumpasync.md

I see them added in the code here...

output.WriteString($" <{p.AlterPrevious.State}> * {p.AlterPrevious.StateMachine.Type?.Name} @ ");

...and here.

string doubleDependentTaskMark = p.DependentCount > 1 ? " * " : " ";

...but I'm not confident I understand their meaning well enough to document them.

Activity

  1. lifengl commented on Aug 17, 2021

    @lifengl
    Member

    Sure, I will update the document. Just to provide a quick information here, "*" means the task appears more than one time in the output, either it waits multiple tasks, or being waited by multiple tasks. It is there to make sure that you aware of them when chasing down the task chain. Because those are often point of time some JTF works are required, those might be places to watch out as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions