diff options
-rw-r--r-- | mthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |