diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-12-18 21:51:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-12-20 15:08:59 -0700 |
| commit | aa6ef10cc657e2bbe59c362f27d7a557c43d7fae (patch) | |
| tree | d76bbb5d6912c53e3bad0cf8281459c24bbf3249 /src/WaitGroup.zig | |
| parent | b2f8631a3c9b2cc04a4c78f38d164130be2fb1ae (diff) | |
| download | zig-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
