]> Cypherpunks repositories - gostls13.git/commit
runtime/debug: avoid overflow in SetMaxThreads
authorAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 20 Oct 2016 09:24:51 +0000 (11:24 +0200)
committerIan Lance Taylor <iant@golang.org>
Thu, 20 Oct 2016 21:08:18 +0000 (21:08 +0000)
commit10560afb540b783da568aebe83d0f782e46bb673
tree589e68bbc19fed944d1205ca1af7b1c224f2537a
parentf6f3aef53f7ef6085ea14b6147b2478848778709
runtime/debug: avoid overflow in SetMaxThreads

Fixes #16076

Change-Id: I91fa87b642592ee4604537dd8c3197cd61ec8b31
Reviewed-on: https://go-review.googlesource.com/31516
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/debug/garbage_test.go
src/runtime/proc.go