From 61caf5a6a35ae73fd0842ba8886856e9298942d1 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 4 May 2020 15:00:07 +0200 Subject: mthread: comment depth convention --- mthread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mthread.c b/mthread.c index a29d7b2..023029d 100644 --- a/mthread.c +++ b/mthread.c @@ -438,6 +438,9 @@ main(int argc, char *argv[]) else i = blaze822_loop(argc-optind, argv+optind, thread); + // the tree of all toplevel threads has depth -1, + // so toplevel threads have depth 0. + find_roots(); if (!vflag) prune_tree(top, -1); -- cgit 1.4.1