# std: Minor changes to TLS handling · gitcafe/zig

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

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

Visibility: public

Requested revision: d788b0cd8b0b12ec4f3dddf4ecdb59556b73d4c2

Requested commit: d788b0cd8b0b12ec4f3dddf4ecdb59556b73d4c2

Commit: d788b0cd8b0b12ec4f3dddf4ecdb59556b73d4c2

Tree: bc0dbd74dbdeb7f0fc8bdfaac3d2cf4a1b92006a

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Minor changes to TLS handling

* Always allocate an info block per-thread so that libc can store
  important stuff there.
* Respect ABI-mandated alignment in more places.
* Nicer code, use slices/pointers instead of raw addresses whenever
  possible.

```

## Parents

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

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