# std.event.WaitGroup: fix compilation \(acquire\-\>lock, release\-\>unlock\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d2681d2537b630359657e117ed77cf12a15bb7df)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d2681d2537b630359657e117ed77cf12a15bb7df

Requested commit: d2681d2537b630359657e117ed77cf12a15bb7df

Commit: d2681d2537b630359657e117ed77cf12a15bb7df

Tree: 711e820ac9f3003f0bca0f61702f0fa1955e5b06

Author: Stephen Gutekanst

Committer: Andrew Kelley

## Message

```
std.event.WaitGroup: fix compilation (acquire->lock, release->unlock)

In 008b0ec5e58fc7e31f3b989868a7d1ea4df3f41d the `std.Thread.Mutex` API was changed
from `acquire` and `release` to `lock` and `unlock`. `std.event.Lock` still uses `acquire`
and `release`. `std.event.WaitGroup` is using `std.Thread.Mutex` and was not updated to use
`lock` and `unlock`, and so compilation failed prior to this commit.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>

```

## Parents

- [971ef7b9c2d67ee849e252e75b79ee1e1ef3da6f](https://git.cafe/gitcafe/zig/commit/971ef7b9c2d67ee849e252e75b79ee1e1ef3da6f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d2681d2537b630359657e117ed77cf12a15bb7df?format=markdown)
