pub fn taskdump_tree(wait_for_running_tasks: bool) -> String
Expand description

Produces a human-readable tree of task states.

If wait_for_running_tasks is false, this routine will display only the top-level location of currently-running tasks and a note that they are “POLLING”. Otherwise, this routine will wait for currently-running tasks to become idle.


If wait_for_running_tasks is true, this routine may deadlock if any non-async lock is held which may also be held by a Framed task.