# std.Io.Threaded: separate out ECANCELED handling again · gitcafe/zig

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

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

Visibility: public

Requested revision: bb3f56d5d5424c7be42132c047a7146e82b49c74

Requested commit: bb3f56d5d5424c7be42132c047a7146e82b49c74

Commit: bb3f56d5d5424c7be42132c047a7146e82b49c74

Tree: e018d8ea82b13a0b1a73c04b4688adecc963e3a4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: separate out ECANCELED handling again

If ECANCELED occurs, it's from pthread_cancel which will *permanently*
set that thread to be in a "canceling" state, which means the cancel
cannot be ignored. That means it cannot be retried, like EINTR. It must
be acknowledged.

```

## Parents

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

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