# std.Io.Threaded: don't use pthread_cancel with musl · gitcafe/zig

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

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

Visibility: public

Requested revision: cf82064ebc3063c6a8e8f51388783ed1c01d6281

Requested commit: cf82064ebc3063c6a8e8f51388783ed1c01d6281

Commit: cf82064ebc3063c6a8e8f51388783ed1c01d6281

Tree: cd9a3c3d56ae5236490f92c5feffca8830ec07a6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: don't use pthread_cancel with musl

It doesn't support setting the "canceled" status to false, so once a
thread has been canceled, all operations on the thread start permanently
failing.

```

## Parents

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

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