aboutsummaryrefslogtreecommitdiff
path: root/src/WaitGroup.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-12-18 21:51:18 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-12-20 15:08:59 -0700
commitaa6ef10cc657e2bbe59c362f27d7a557c43d7fae (patch)
treed76bbb5d6912c53e3bad0cf8281459c24bbf3249 /src/WaitGroup.zig
parentb2f8631a3c9b2cc04a4c78f38d164130be2fb1ae (diff)
downloadzig-aa6ef10cc657e2bbe59c362f27d7a557c43d7fae.tar.gz
zig-aa6ef10cc657e2bbe59c362f27d7a557c43d7fae.zip
std.Progress: make the API thread-safe
We generally get away with atomic primitives, however a lock is required around the refresh function since it traverses the Node graph, and we need to be sure no references to Nodes remain after end() is called.
Diffstat (limited to 'src/WaitGroup.zig')
0 files changed, 0 insertions, 0 deletions