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

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

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

Visibility: public

Requested revision: a34f67aa66554a776ae9a8f42207c62fcbc5fc25

Requested commit: a34f67aa66554a776ae9a8f42207c62fcbc5fc25

Commit: a34f67aa66554a776ae9a8f42207c62fcbc5fc25

Tree: 6c302b567005a489fcd27109c7f2b68fd520f742

Author: LemonBoy

Committer: LemonBoy

## 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

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

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