diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-05-04 15:00:07 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-05-04 15:00:07 +0200 |
commit | 61caf5a6a35ae73fd0842ba8886856e9298942d1 (patch) | |
tree | 4557c60e167c97ad5095234034fda55511c06ef8 | |
parent | 4927d44d5518412c41322721a07ec8c56bdb45f7 (diff) | |
download | mblaze-61caf5a6a35ae73fd0842ba8886856e9298942d1.tar.gz mblaze-61caf5a6a35ae73fd0842ba8886856e9298942d1.tar.xz mblaze-61caf5a6a35ae73fd0842ba8886856e9298942d1.zip |
mthread: comment depth convention
-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); |