# add std.heap.ThreadSafeAllocator · gitcafe/zig

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

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

Visibility: public

Requested revision: 658de75500871f28015aa2ff14872eed0410dddf

Requested commit: 658de75500871f28015aa2ff14872eed0410dddf

Commit: 658de75500871f28015aa2ff14872eed0410dddf

Tree: 417adcfd2d59ca065d45b12be27d261dee252596

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add std.heap.ThreadSafeAllocator

This wraps any allocator and makes it thread-safe by using a mutex.

```

## Parents

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

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