aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckFile.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-05-22 20:42:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-27 20:56:48 -0700
commita3c9511ab9d56d4c06c612536a27b84d67ae415c (patch)
tree5a61cccf339d6c8b9c35c4f86fbb511aae9c4edc /lib/std/Build/Step/CheckFile.zig
parente1e4de2776901a0acb7a28454c0fe080c5c13a5e (diff)
downloadzig-a3c9511ab9d56d4c06c612536a27b84d67ae415c.tar.gz
zig-a3c9511ab9d56d4c06c612536a27b84d67ae415c.zip
rework std.Progress again
This time, we preallocate a fixed set of nodes and have the user-visible Node only be an index into them. This allows for lock-free management of the node storage. Only the parent indexes are stored, and the update thread makes a serialized copy of the state before trying to compute children lists. The update thread then walks the tree and outputs an entire tree of progress rather than only one line. There is a problem with clearing from the cursor to the end of the screen when the cursor is at the bottom of the terminal.
Diffstat (limited to 'lib/std/Build/Step/CheckFile.zig')
0 files changed, 0 insertions, 0 deletions