# add std.event.RwLock and a few more std changes · gitcafe/zig

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

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

Visibility: public

Requested revision: e3ae2cfb5243e7255bf4dbcc8a9b7e77a31e9d45

Requested commit: e3ae2cfb5243e7255bf4dbcc8a9b7e77a31e9d45

Commit: e3ae2cfb5243e7255bf4dbcc8a9b7e77a31e9d45

Tree: 73dc936ec76d72e8ddeb49e57926716f967d18a2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add std.event.RwLock and a few more std changes

 * add std.event.RwLock and std.event.RwLocked
 * std.debug.warn does its printing locked
 * add std.Mutex, however it's currently implemented as a spinlock
 * rename std.event.Group.cancelAll to std.event.Group.deinit and change
   the docs and assumptions.
 * add std.HashMap.clone

```

## Parents

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

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