diff options
| author | Austin Clements <austin@google.com> | 2019-03-01 14:54:00 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2019-04-05 18:49:04 +0000 |
| commit | 57bb7be4b171a0c7ebf80467306c91e5ed8b2e84 (patch) | |
| tree | 1921016a8d240a9fd61bf9e76ab2686ef138a814 /src/runtime/stack.go | |
| parent | 2b605670020fc637e20a609b1dc86c1f0e7afdd1 (diff) | |
| download | go-57bb7be4b171a0c7ebf80467306c91e5ed8b2e84.tar.xz | |
sync: internal dynamically sized lock-free queue for sync.Pool
This adds a dynamically sized, lock-free, single-producer,
multi-consumer queue that will be used in the new Pool stealing
implementation. It's built on top of the fixed-size queue added in the
previous CL.
For #22950, #22331.
Change-Id: Ifc0ca3895bec7e7f9289ba9fb7dd0332bf96ba5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/166958
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
