# std.Thread.Pool: call shutdown on workers blocking on connect or read · gitcafe/zig

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

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

Visibility: public

Requested revision: a239e65b54a5030310ce721593a94a6289b625fe

Requested commit: a239e65b54a5030310ce721593a94a6289b625fe

Commit: a239e65b54a5030310ce721593a94a6289b625fe

Tree: d26385cfbc6716ce51a28b23237ddcd13f63ecaf

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Thread.Pool: call shutdown on workers blocking on connect or read

and increase kernel backlog to the maximum number. Without increasing
the kernel backlog to the maximum number, I observed connect() to block
indefinitely, even when another thread calls shutdown() on that socket
file descriptor.

```

## Parents

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

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