diff options
author | Russ Cox <rsc@golang.org> | 2016-01-06 22:04:06 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2016-01-07 19:14:12 +0000 |
commit | cd91c3b036c9ec087dcc3fc69ff8234020925fa9 (patch) | |
tree | a6603f41610eacaf0b49275c0fec68c474acfe5d /src/runtime/extern.go | |
parent | 305b4baf41ecbaa3469428b7debb389bd1527804 (diff) | |
download | go-cd91c3b036c9ec087dcc3fc69ff8234020925fa9.tar.gz go-cd91c3b036c9ec087dcc3fc69ff8234020925fa9.zip |
runtime: add pointer to net and net/http for more GODEBUG settings
net has GODEBUG text already.
net/http still needs it (leaving for Brad).
For #13611.
Change-Id: Icea1027924a23a687cbbe4001985e8c6384629d7
Reviewed-on: https://go-review.googlesource.com/18346
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/extern.go')
-rw-r--r-- | src/runtime/extern.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/extern.go b/src/runtime/extern.go index cab8de0481..f52c66cf87 100644 --- a/src/runtime/extern.go +++ b/src/runtime/extern.go @@ -105,6 +105,9 @@ It is a comma-separated list of name=val pairs setting these named variables: schedtrace: setting schedtrace=X causes the scheduler to emit a single line to standard error every X milliseconds, summarizing the scheduler state. +The net and net/http packages also refer to debugging variables in GODEBUG. +See the documentation for those packages for details. + The GOMAXPROCS variable limits the number of operating system threads that can execute user-level Go code simultaneously. There is no limit to the number of threads that can be blocked in system calls on behalf of Go code; those do not count against |