]> Cypherpunks repositories - gostls13.git/commit
runtime: better error message for newosproc failure
authorIan Lance Taylor <iant@golang.org>
Wed, 29 Jun 2016 00:06:59 +0000 (17:06 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 29 Jun 2016 01:37:19 +0000 (01:37 +0000)
commitc7ae41e5770b2258074eee68a6a3c4d0d71a251f
treee45eaa1de22e70f69c64e4eaad62484fdcf7fdfa
parent8641e6fe2131ac342647fa34398a727f96d15fb5
runtime: better error message for newosproc failure

If creating a new thread fails with EAGAIN, point the user at ulimit.

Fixes #15476.

Change-Id: Ib36519614b5c72776ea7f218a0c62df1dd91a8ea
Reviewed-on: https://go-review.googlesource.com/24570
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/os3_solaris.go
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_linux.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go