# std.Io.Threaded: always use robust cancelation · gitcafe/zig

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

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

Visibility: public

Requested revision: 2c395e326f2db4e2389af729b88bd93e76e4d27c

Requested commit: 2c395e326f2db4e2389af729b88bd93e76e4d27c

Commit: 2c395e326f2db4e2389af729b88bd93e76e4d27c

Tree: d005a7ec304236a88d310f3013e032d817211270

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
std.Io.Threaded: always use robust cancelation

As of this branch, the performance impact of robust cancelation is now
negligible (and in fact entirely unmeasurable in almost all cases), so
there is no good reason to not enable it in all cases. The performance
issues before were primarily down to a typo in the robust cancelation
logic which resulted in every canceled syscall potentially being sent
hundreds of signals in quick succession, because the delay between
signals started out at 1ns instead of 1us!

```

## Parents

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

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